mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-14 17:45:04 +00:00
Even more tweaks to connection reply logging.
This commit is contained in:
parent
e71c72f037
commit
1af96788f0
1 changed files with 3 additions and 2 deletions
|
@ -1187,8 +1187,9 @@ void process_queue_item(xs_dict *q_item)
|
|||
payload = xs_str_cat(payload, "...");
|
||||
}
|
||||
|
||||
payload = xs_replace_i(payload, "\n", "\\n");
|
||||
payload = xs_replace_i(payload, "\r", "\\r");
|
||||
/* strip ugly control characters */
|
||||
payload = xs_replace_i(payload, "\n", "");
|
||||
payload = xs_replace_i(payload, "\r", "");
|
||||
|
||||
if (*payload)
|
||||
payload = xs_str_wrap_i(" [", payload, "]");
|
||||
|
|
Loading…
Reference in a new issue