mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-05-17 05:36:46 +08:00
Fixed netconn_err() macro
This commit is contained in:
@@ -212,7 +212,7 @@ err_t netconn_join_leave_group(struct netconn *conn, struct ip_addr *multiaddr
|
||||
err_t netconn_gethostbyname(const char *name, struct ip_addr *addr);
|
||||
#endif /* LWIP_DNS */
|
||||
|
||||
#define netconn_err(conn) ((conn)->err)
|
||||
#define netconn_err(conn) ((conn)->last_err)
|
||||
#define netconn_recv_bufsize(conn) ((conn)->recv_bufsize)
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
Reference in New Issue
Block a user