Commit 2b7c89e2 authored by Martin Blix Grydeland's avatar Martin Blix Grydeland

Allow newlines in long strings to sendhex

parent a2c072c2
......@@ -1129,7 +1129,7 @@ cmd_http_sendhex(CMD_ARGS)
AN(p);
q = av[1];
for (i = 0; i < l; i++) {
while (vct_issp(*q))
while (vct_issp(*q) || *q == '\n')
q++;
if (*q == '\0')
break;
......
Markdown is supported
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