mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-03-28 08:37:28 +00:00
Fixed bug #33802 tcpip: tcpip_callbackmsg_new sets msg->type to wrong type
This commit is contained in:
parent
e8b80b8ae9
commit
23dfcf7b8c
@ -411,7 +411,7 @@ struct tcpip_callback_msg* tcpip_callbackmsg_new(tcpip_callback_fn function, voi
|
|||||||
if (msg == NULL) {
|
if (msg == NULL) {
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
msg->type = TCPIP_MSG_CALLBACK;
|
msg->type = TCPIP_MSG_CALLBACK_STATIC;
|
||||||
msg->msg.cb.function = function;
|
msg->msg.cb.function = function;
|
||||||
msg->msg.cb.ctx = ctx;
|
msg->msg.cb.ctx = ctx;
|
||||||
return (struct tcpip_callback_msg*)msg;
|
return (struct tcpip_callback_msg*)msg;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user