mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-27 15:16:03 +00:00
Fixed compilation with LWIP_DNS==1 after changing sys layer
This commit is contained in:
parent
7c28c66d32
commit
7ccf8cb731
@ -1171,7 +1171,6 @@ do_writemore(struct netconn *conn)
|
|||||||
let select mark this pcb as non-writable. */
|
let select mark this pcb as non-writable. */
|
||||||
API_EVENT(conn, NETCONN_EVT_SENDMINUS, len);
|
API_EVENT(conn, NETCONN_EVT_SENDMINUS, len);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (err == ERR_OK) {
|
if (err == ERR_OK) {
|
||||||
conn->write_offset += len;
|
conn->write_offset += len;
|
||||||
if (conn->write_offset == conn->current_msg->msg.w.len) {
|
if (conn->write_offset == conn->current_msg->msg.w.len) {
|
||||||
@ -1413,7 +1412,7 @@ do_dns_found(const char *name, ip_addr_t *ipaddr, void *arg)
|
|||||||
*msg->addr = *ipaddr;
|
*msg->addr = *ipaddr;
|
||||||
}
|
}
|
||||||
/* wake up the application task waiting in netconn_gethostbyname */
|
/* wake up the application task waiting in netconn_gethostbyname */
|
||||||
sys_sem_signal(msg->sem);
|
sys_sem_signal(&msg->sem);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -1431,7 +1430,7 @@ do_gethostbyname(void *arg)
|
|||||||
if (*msg->err != ERR_INPROGRESS) {
|
if (*msg->err != ERR_INPROGRESS) {
|
||||||
/* on error or immediate success, wake up the application
|
/* on error or immediate success, wake up the application
|
||||||
* task waiting in netconn_gethostbyname */
|
* task waiting in netconn_gethostbyname */
|
||||||
sys_sem_signal(msg->sem);
|
sys_sem_signal(&msg->sem);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif /* LWIP_DNS */
|
#endif /* LWIP_DNS */
|
||||||
|
Loading…
Reference in New Issue
Block a user