mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-29 12:41:03 +00:00
MG_ARCH_RTX nits
This commit is contained in:
1 parent
5458252e4a
commit
0294603dfc
6 files changed
+15
-4
No files matched your search
+2
-1
@@ -406,7 +406,8 @@ static bool mg_socketpair(SOCKET sp[2], union usa usa[2]) {
|
||||
usa[1] = usa[0];
|
||||
|
||||
if ((sock = socket(AF_INET, SOCK_STREAM, 0)) != INVALID_SOCKET &&
|
||||
bind(sock, &usa[0].sa, len) == 0 && listen(sock, 3) == 0 &&
|
||||
bind(sock, &usa[0].sa, len) == 0 &&
|
||||
listen(sock, MG_SOCK_LISTEN_BACKLOG_SIZE) == 0 &&
|
||||
getsockname(sock, &usa[0].sa, &len) == 0 &&
|
||||
(sp[0] = socket(AF_INET, SOCK_STREAM, 0)) != INVALID_SOCKET &&
|
||||
connect(sp[0], &usa[0].sa, len) == 0 &&
|
||||
|
||||
Reference in new issue
Block a user