From 9ad5422c7820380f1dec9cbd69d67a0200465583 Mon Sep 17 00:00:00 2001 From: cantor Date: Tue, 4 Mar 2008 00:49:11 +0000 Subject: [PATCH] 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 --- xmltooling/util/CurlURLInputStream.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } } -- 2.1.4