Commit 59be36d5 authored by Niels Möller's avatar Niels Möller
Browse files

(ssh_format): Use the format string as the

debugging "clue" for the string.

Rev: src/format.c:1.44
parent 4f7c8fae
......@@ -42,8 +42,12 @@ struct lsh_string *ssh_format(const char *format, ...)
length = ssh_vformat_length(format, args);
packet = lsh_string_alloc_clue(length, format);
packet = lsh_string_alloc(length);
va_start(args, format);
ssh_vformat_write(format, length, packet->data, args);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment