mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-22 21:35:04 +00:00
More tweaks to connection reply logging.
This commit is contained in:
parent
e144b0dc67
commit
e71c72f037
1 changed files with 1 additions and 0 deletions
|
@ -1188,6 +1188,7 @@ void process_queue_item(xs_dict *q_item)
|
||||||
}
|
}
|
||||||
|
|
||||||
payload = xs_replace_i(payload, "\n", "\\n");
|
payload = xs_replace_i(payload, "\n", "\\n");
|
||||||
|
payload = xs_replace_i(payload, "\r", "\\r");
|
||||||
|
|
||||||
if (*payload)
|
if (*payload)
|
||||||
payload = xs_str_wrap_i(" [", payload, "]");
|
payload = xs_str_wrap_i(" [", payload, "]");
|
||||||
|
|
Loading…
Reference in a new issue