Fixed error logging on "Input buffer full" condition.
authorSven-Haegar Koch <haegar@sdinet.de>
Fri, 27 May 2011 23:33:45 +0000 (01:33 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Sat, 28 May 2011 13:24:38 +0000 (15:24 +0200)
src/meta.c

index e56c86f..849a0c6 100644 (file)
@@ -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;
        }