From: cantor Date: Tue, 4 Mar 2008 00:49:11 +0000 (+0000) Subject: Modify select call to match example and Xerces trunk. X-Git-Tag: 1.4.1~360 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fxmltooling.git;a=commitdiff_plain;h=9ad5422c7820380f1dec9cbd69d67a0200465583 Modify select call to match example and Xerces trunk. git-svn-id: https://svn.middleware.georgetown.edu/cpp-xmltooling/trunk@468 de75baf8-a10c-0410-a50a-987c0e22f00f --- diff --git a/xmltooling/util/CurlURLInputStream.cpp b/xmltooling/util/CurlURLInputStream.cpp index 61652b5..1923a50 100644 --- a/xmltooling/util/CurlURLInputStream.cpp +++ b/xmltooling/util/CurlURLInputStream.cpp @@ -254,7 +254,7 @@ CurlURLInputStream::readBytes(XMLByte* const toFill timeval tv; tv.tv_sec = 2; tv.tv_usec = 0; - (void) select(fdcnt, &readSet, &writeSet, &exceptSet, &tv); + (void) select(fdcnt+1, &readSet, &writeSet, &exceptSet, &tv); } }