missed a format

This commit is contained in:
Chris Marsh 2017-08-02 10:44:08 -07:00
parent 2311a26eb0
commit a7eb65355e

View file

@ -61,7 +61,7 @@ bool BaseConnection::Open()
#ifdef SO_NOSIGPIPE #ifdef SO_NOSIGPIPE
int optval = 1; int optval = 1;
setsockopt(fd, SOL_SOCKET, SO_NOSIGPIPE, &optval, sizeof(optval)); setsockopt(fd, SOL_SOCKET, SO_NOSIGPIPE, &optval, sizeof(optval));
#endif #endif
for (int pipeNum = 0; pipeNum < 10; ++pipeNum) { for (int pipeNum = 0; pipeNum < 10; ++pipeNum) {
snprintf( snprintf(