mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-01 03:34:32 +02:00
Add missing debug log message for out-of-sockets case
Merges https://github.com/espressif/esp-idf/pull/903
This commit is contained in:
committed by
Angus Gratton
parent
8c1acb0363
commit
1e3dd2a4fa
@@ -1501,6 +1501,7 @@ lwip_socket(int domain, int type, int protocol)
|
||||
i = alloc_socket(conn, 0);
|
||||
|
||||
if (i == -1) {
|
||||
LWIP_DEBUGF(SOCKETS_DEBUG, ("-1 / ENFILE (could not allocate socket)\n"));
|
||||
netconn_delete(conn);
|
||||
set_errno(ENFILE);
|
||||
return -1;
|
||||
|
Reference in New Issue
Block a user