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
parent 7385449f33
commit fb0ad2f9ea

View File

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