summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 271b0d6)
raw | patch | inline | side by side (parent: 271b0d6)
author | Sebastian Harl <sh@tokkee.org> | |
Mon, 11 Nov 2013 08:25:46 +0000 (09:25 +0100) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Mon, 11 Nov 2013 08:25:46 +0000 (09:25 +0100) |
;-)
src/frontend/sock.c | patch | blob | history |
diff --git a/src/frontend/sock.c b/src/frontend/sock.c
index d11fc421669ee3535b6762f5a09d8d3e4227936a..11fa936686da75e169445842840cad502615d676 100644 (file)
--- a/src/frontend/sock.c
+++ b/src/frontend/sock.c
len = sdb_strbuf_len(conn->conn.buf);
if (len)
sdb_log(SDB_LOG_INFO, "frontend: Discarding incomplete command "
- "(%zu bytes left in buffer)", len);
+ "(%zu byte%s left in buffer)", len, len == 1 ? "" : "s");
sdb_log(SDB_LOG_DEBUG, "frontend: Closing connection on fd=%i",
conn->conn.fd);