From: <obo...@us...> - 2007-11-07 10:33:43
|
Revision: 336 http://sipp.svn.sourceforge.net/sipp/?rev=336&view=rev Author: oboulkroune Date: 2007-11-07 02:33:41 -0800 (Wed, 07 Nov 2007) Log Message: ----------- Fix: -max_reconnect 1 would not make sipp attempt to reconnect at all Modified Paths: -------------- sipp/trunk/sipp.cpp sipp/trunk/sipp.hpp Modified: sipp/trunk/sipp.cpp =================================================================== --- sipp/trunk/sipp.cpp 2007-11-06 10:18:07 UTC (rev 335) +++ sipp/trunk/sipp.cpp 2007-11-07 10:33:41 UTC (rev 336) @@ -4326,7 +4326,7 @@ start_calls = 1; reset_number--; - if (reset_number <= 0) { + if (reset_number < 0) { ERROR_NO("Max number of reconnections reached"); } if (reset_close) { Modified: sipp/trunk/sipp.hpp =================================================================== --- sipp/trunk/sipp.hpp 2007-11-06 10:18:07 UTC (rev 335) +++ sipp/trunk/sipp.hpp 2007-11-07 10:33:41 UTC (rev 336) @@ -93,7 +93,7 @@ /************************** Constants **************************/ -#define SIPP_VERSION 20071106 +#define SIPP_VERSION 20071107 #define T_UDP 0 #define T_TCP 1 #define T_TLS 2 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |