mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-07 16:01:30 +00:00
TLS nits
This commit is contained in:
1 parent
7d67d578fd
commit
9a19485454
4 files changed
+26
-14
No files matched your search
@@ -320,7 +320,6 @@ void mg_connect_resolved(struct mg_connection *c) {
|
||||
#endif
|
||||
mg_straddr(c, buf, sizeof(buf));
|
||||
c->fd = (void *) (long) socket(af, type, 0);
|
||||
LOG(LL_DEBUG, ("%lu resolved, sock %p -> %s", c->id, c->fd, buf));
|
||||
if (FD(c) == INVALID_SOCKET) {
|
||||
mg_error(c, "socket(): %d", MG_SOCK_ERRNO);
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user