From: Anthony Minessale Date: Mon, 7 Jul 2008 14:49:09 +0000 (+0000) Subject: we can't assert that time will stand still X-Git-Tag: v1.0.1~265 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d13e1bd4cb56cd68adc1510f60adb33dffed7cbe;p=thirdparty%2Ffreeswitch.git we can't assert that time will stand still git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8902 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/libs/xmlrpc-c/lib/abyss/src/http.c b/libs/xmlrpc-c/lib/abyss/src/http.c index aeb449690f..1e55bc86fd 100644 --- a/libs/xmlrpc-c/lib/abyss/src/http.c +++ b/libs/xmlrpc-c/lib/abyss/src/http.c @@ -175,7 +175,7 @@ getLineInBuffer(TConn * const connectionP, while (!error && !lfPos) { int const timeLeft = (int)(deadline - time(NULL)); - assert(timeLeft == deadline - time(NULL)); + if (timeLeft <= 0) error = TRUE; else {