Fixed bug #33802 tcpip: tcpip_callbackmsg_new sets msg->type to wrong type

This commit is contained in:
Simon Goldschmidt 2011-07-19 21:52:40 +02:00 committed by goldsimon
parent e8b80b8ae9
commit 23dfcf7b8c

View File

@ -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;