diff options
Diffstat (limited to 'tls.c')
-rw-r--r-- | tls.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -106,7 +106,7 @@ ssize_t SEND(struct string msg) { WRITES(1, msg); - if (msg.data[msg.len - 1] == '\n') { + if (msg.len == 0 || msg.data[msg.len - 1] == '\n') { printprefix = 1; #if COLORIZE WRITES(1, STRING("\x1b[0m\n")); |