commit a4298206a73626537143f189fcd87cb4464a1a99
parent ad5d662556a624cd48cada39a50bbb97858d6c36
Author: Joris Vink <joris@coders.se>
Date: Mon, 16 Mar 2015 16:50:33 +0100
Fix lies in fatal message.
Diffstat:
src/net.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/net.c b/src/net.c
@@ -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;