From: Sven-Haegar Koch Date: Fri, 27 May 2011 23:33:45 +0000 (+0200) Subject: Fixed error logging on "Input buffer full" condition. X-Git-Tag: import-tinc-1.1~520 X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=9cce44dfe3401867f753778b73fd1e7ac1ee3122;p=meshlink Fixed error logging on "Input buffer full" condition. --- diff --git a/src/meta.c b/src/meta.c index e56c86f9..849a0c69 100644 --- a/src/meta.c +++ b/src/meta.c @@ -88,7 +88,7 @@ bool receive_meta(connection_t *c) { buffer_compact(&c->inbuf, MAXBUFSIZE); if(sizeof inbuf <= c->inbuf.len) { - logger(LOG_ERR, "Input buffer full for %s (%s)\n", c, c->hostname); + logger(LOG_ERR, "Input buffer full for %s (%s)", c->name, c->hostname); return false; }