]> git.meshlink.io Git - meshlink/blobdiff - src/meta.c
Fixed error logging on "Input buffer full" condition.
[meshlink] / 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;
        }