From fb0ad2f9ea968835e477798d4ac224f3cfe66291 Mon Sep 17 00:00:00 2001 From: Simon Goldschmidt Date: Tue, 19 Jul 2011 21:52:40 +0200 Subject: [PATCH] Fixed bug #33802 tcpip: tcpip_callbackmsg_new sets msg->type to wrong type --- src/api/tcpip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/tcpip.c b/src/api/tcpip.c index 6688870e..ef6fed5f 100644 --- a/src/api/tcpip.c +++ b/src/api/tcpip.c @@ -416,7 +416,7 @@ struct tcpip_callback_msg* tcpip_callbackmsg_new(tcpip_callback_fn function, voi if (msg == NULL) { return NULL; } - msg->type = TCPIP_MSG_CALLBACK; + msg->type = TCPIP_MSG_CALLBACK_STATIC; msg->msg.cb.function = function; msg->msg.cb.ctx = ctx; return (struct tcpip_callback_msg*)msg;