Fixed error logging on "Input buffer full" condition.
This commit is contained in:
parent
453c44e7b2
commit
9cce44dfe3
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue