From: <cha...@us...> - 2007-05-21 15:50:35
|
Revision: 240 http://sipp.svn.sourceforge.net/sipp/?rev=240&view=rev Author: charlespwright Date: 2007-05-21 08:50:32 -0700 (Mon, 21 May 2007) Log Message: ----------- Fix: Added braces around case statements with variables to fix compilation with gcc 3.3.3. Modified Paths: -------------- sipp/trunk/call.cpp Modified: sipp/trunk/call.cpp =================================================================== --- sipp/trunk/call.cpp 2007-05-21 08:12:10 UTC (rev 239) +++ sipp/trunk/call.cpp 2007-05-21 15:50:32 UTC (rev 240) @@ -2095,7 +2095,7 @@ *dest = '\0'; break; } - case E_Message_Injection: + case E_Message_Injection: { char *orig_dest = dest; getFieldFromInputFile(comp->filename, comp->field, dest); /* We are injecting an authenticaiton line. */ @@ -2118,7 +2118,8 @@ supresscrlf = true; } break; - case E_Message_Last_Header: + } + case E_Message_Last_Header: { char * last_header = get_last_header(comp->literal); if(last_header) { dest += sprintf(dest, "%s", last_header); @@ -2127,6 +2128,7 @@ supresscrlf = true; } break; + } case E_Message_TDM_Map: if (!use_tdmmap) ERROR("[tdmmap] keyword without -tdmmap parameter on command line"); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |