From: Sebastian Harl Date: Mon, 11 Nov 2013 08:25:46 +0000 (+0100) Subject: frontend/sock: Fixed an info message. X-Git-Tag: sysdb-0.1.0~336^2~12 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=f529f86b7b05704f3ede80f06221b556620a8b75;p=sysdb.git frontend/sock: Fixed an info message. ;-) --- diff --git a/src/frontend/sock.c b/src/frontend/sock.c index d11fc42..11fa936 100644 --- a/src/frontend/sock.c +++ b/src/frontend/sock.c @@ -346,7 +346,7 @@ connection_destroy(sdb_object_t *obj) 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);