This commit is contained in:
Mike Belopuhov 2017-08-28 16:49:01 +02:00
parent 6755e15ce8
commit 9336c3bb36

2
icbd.c
View File

@ -392,7 +392,7 @@ icbd_dispatch(struct bufferevent *bev, void *arg)
/* see you next time around */
if (is->rlen < is->length)
return;
/* null-terminate the data */
/* nul-terminate the data */
is->buffer[MIN(is->rlen, ICB_MSGSIZE - 1)] = '\0';
/* process the message in full */
if (icb_input(is))