Fix lies in fatal message.

This commit is contained in:
Joris Vink 2015-03-16 16:50:33 +01:00
parent ad5d662556
commit a4298206a7
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ net_recv_reset(struct connection *c, u_int32_t len, int (*cb)(struct netbuf *))
kore_debug("net_recv_reset(): %p %d", c, len);
if (c->rnb->type != NETBUF_RECV)
fatal("net_recv_expand(): wrong netbuf type");
fatal("net_recv_reset(): wrong netbuf type");
c->rnb->cb = cb;
c->rnb->s_off = 0;