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:
Etienne Dechamps 2014-09-06 18:16:46 +01:00 committed by Guus Sliepen
parent 7ac5263765
commit 1ac9a3fbd1

View file

@ -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];