From 23dfcf7b8c929bd21c39422ce19aa0dd8c36641b 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 9cda0a9d..18d5f679 100644 --- a/src/api/tcpip.c +++ b/src/api/tcpip.c @@ -411,7 +411,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;