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: release-1.1pre1~45 X-Git-Url: https://tinc-vpn.org/git/browse?a=commitdiff_plain;h=9cce44dfe3401867f753778b73fd1e7ac1ee3122;hp=453c44e7b27d4259461795ab4ec6ef264085dd28;p=tinc 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; }