]> git.meshlink.io Git - meshlink/commitdiff
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 e56c86f9124d585966759fb63b9a8ae5a4b6f267..849a0c6947a409807c396bf769c28567d5aa4360 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;
        }