From: <cha...@us...> - 2008-07-21 14:22:23
|
Revision: 512 http://sipp.svn.sourceforge.net/sipp/?rev=512&view=rev Author: charlespwright Date: 2008-07-21 14:22:19 +0000 (Mon, 21 Jul 2008) Log Message: ----------- Remove erroneous assert by M.H. Van Leeuwen. Modified Paths: -------------- sipp/trunk/sipp.cpp Modified: sipp/trunk/sipp.cpp =================================================================== --- sipp/trunk/sipp.cpp 2008-07-21 14:20:57 UTC (rev 511) +++ sipp/trunk/sipp.cpp 2008-07-21 14:22:19 UTC (rev 512) @@ -2475,7 +2475,9 @@ #endif /* We have only non-blocking reads, so this should not occur. */ - assert(errno != EAGAIN); + if (ret < 0) { + assert(errno != EAGAIN); + } if (socket->ss_transport == T_TCP || socket->ss_transport == T_TLS) { if (ret == 0) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |