Fix wrong identifier in SO_NOSIGPIPE call.
f134bd0c9c
broke the Mac OS X build by
introducing a reference to an identifier, c, that doesn't exist.
This commit is contained in:
parent
7ac5263765
commit
1ac9a3fbd1
1 changed files with 1 additions and 1 deletions
|
@ -763,7 +763,7 @@ bool connect_tincd(bool verbose) {
|
|||
|
||||
#ifdef SO_NOSIGPIPE
|
||||
static const int one = 1;
|
||||
setsockopt(c, SOL_SOCKET, SO_NOSIGPIPE, (void *)&one, sizeof one);
|
||||
setsockopt(fd, SOL_SOCKET, SO_NOSIGPIPE, (void *)&one, sizeof one);
|
||||
#endif
|
||||
|
||||
char data[4096];
|
||||
|
|
Loading…
Reference in a new issue