mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
Fix accept() -- it wanted parts of return address initialized
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2008 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -3551,7 +3551,7 @@ char *httpd_method_str(int method)
|
||||
}
|
||||
}
|
||||
|
||||
int httpd_get_conn(httpd_server * hs, int listen_fd, httpd_conn *hc)
|
||||
int httpd_get_conn(httpd_server *hs, int listen_fd, httpd_conn *hc)
|
||||
{
|
||||
httpd_sockaddr sa;
|
||||
socklen_t sz;
|
||||
@@ -3596,7 +3596,7 @@ int httpd_get_conn(httpd_server * hs, int listen_fd, httpd_conn *hc)
|
||||
return GC_NO_MORE;
|
||||
}
|
||||
|
||||
ndbg("accept: %d\n", errno);
|
||||
ndbg("accept failed: %d\n", errno);
|
||||
return GC_FAIL;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user