From: <saj...@us...> - 2010-10-26 06:49:17
|
Revision: 593 http://sipp.svn.sourceforge.net/sipp/?rev=593&view=rev Author: sajeeshs Date: 2010-10-26 06:49:11 +0000 (Tue, 26 Oct 2010) Log Message: ----------- FIX: Fix for Segmentation Fault - ID: 2896585: -aa option causes segfault from Endre Szalai Modified Paths: -------------- sipp/trunk/stat.cpp Modified: sipp/trunk/stat.cpp =================================================================== --- sipp/trunk/stat.cpp 2010-10-15 11:15:53 UTC (rev 592) +++ sipp/trunk/stat.cpp 2010-10-26 06:49:11 UTC (rev 593) @@ -779,9 +779,9 @@ case E_AUTO_ANSWERED : // Let's count the automatic answered calls - M_G_counters [CPT_G_C_AutoAnswered - 1]++; - M_G_counters [CPT_G_PD_AutoAnswered - 1]++; - M_G_counters [CPT_G_PL_AutoAnswered - 1]++; + M_G_counters [CPT_G_C_AutoAnswered - E_NB_COUNTER - 1]++; + M_G_counters [CPT_G_PD_AutoAnswered - E_NB_COUNTER - 1]++; + M_G_counters [CPT_G_PL_AutoAnswered - E_NB_COUNTER - 1]++; break; default : ERROR("CStat::ComputeStat() - Unrecognized Action %d\n", P_action); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |