[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #38853] connect() use a wrong errno
From: |
TabascoEye |
Subject: |
[lwip-devel] [bug #38853] connect() use a wrong errno |
Date: |
Mon, 17 Mar 2014 15:21:31 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:27.0) Gecko/20100101 Firefox/27.0 |
Follow-up Comment #2, bug #38853 (project lwip):
Agreed.
I attach a patch that changes the following:
1) introduces ERR_ALREADY in the LwIP errors
2) uses ERR_ALREADY in lwip_netconn_do_connect() if already called and
connection not yet established, but ERR_ISCONN is used when it is established
3) in sockets.c, added ERR_ALREADY => EALREADY to the err_to_errno table and
changed ERR_ISCONN to be EISCONN as it's supposed to be
(file #30928)
_______________________________________________________
Additional Item Attachment:
File name: lwip_connect_errnos.patch Size:3 KB
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?38853>
_______________________________________________
Nachricht gesendet von/durch Savannah
http://savannah.nongnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lwip-devel] [bug #38853] connect() use a wrong errno,
TabascoEye <=