Skip to content

Commit

Permalink
sync upstream libnoson (2.0.0)
Browse files Browse the repository at this point in the history
  • Loading branch information
janbar committed Nov 25, 2019
1 parent d494f65 commit 6deccc4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backend/lib/noson/noson/src/private/socket.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ static int __connectAddr(struct addrinfo *addr, net_socket_t *s, int rcvbuf)
err = LASTERROR;
DBG(DBG_ERROR, "%s: failed to connect (%d)\n", __FUNCTION__, err);
closesocket(*s);
*s = INVALID_SOCKET_VALUE;
#ifndef __WINDOWS__
signal(SIGALRM, old_sighandler);
alarm(old_alarm);
Expand Down

0 comments on commit 6deccc4

Please sign in to comment.