Fixed netconn_err() macro

This commit is contained in:
goldsimon 2010-01-20 07:37:24 +00:00
parent a7139ef06b
commit 7044385d8e

View File

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