kopia lustrzana https://github.com/espressif/esp-idf
Add missing debug log message for out-of-sockets case
Merges https://github.com/espressif/esp-idf/pull/903pull/928/merge
rodzic
8c1acb0363
commit
1e3dd2a4fa
|
@ -1501,6 +1501,7 @@ lwip_socket(int domain, int type, int protocol)
|
||||||
i = alloc_socket(conn, 0);
|
i = alloc_socket(conn, 0);
|
||||||
|
|
||||||
if (i == -1) {
|
if (i == -1) {
|
||||||
|
LWIP_DEBUGF(SOCKETS_DEBUG, ("-1 / ENFILE (could not allocate socket)\n"));
|
||||||
netconn_delete(conn);
|
netconn_delete(conn);
|
||||||
set_errno(ENFILE);
|
set_errno(ENFILE);
|
||||||
return -1;
|
return -1;
|
||||||
|
|
Ładowanie…
Reference in New Issue