compiler warning

This commit is contained in:
john30
2015-11-07 11:09:26 +01:00
parent 4e21e91e88
commit 35d46b1b90
+1 -1
View File
@@ -199,8 +199,8 @@ void Network::run()
// set timeout
tdiff.tv_sec = 1;
tdiff.tv_nsec = 0;
int socketCount = m_httpServer ? 2 : 1;
#ifdef HAVE_PPOLL
int socketCount = m_httpServer ? 2 : 1;
int nfds = 1+socketCount;
struct pollfd fds[nfds];