[Freeswitch-svn] [commit] r10511 - freeswitch/trunk/src/mod/endpoints/mod_sofia

FreeSWITCH SVN mikej at freeswitch.org
Fri Nov 21 15:24:03 PST 2008


Author: mikej
Date: Fri Nov 21 18:24:03 2008
New Revision: 10511

Log:
uninitialized var

Modified:
   freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c

Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c	(original)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c	Fri Nov 21 18:24:03 2008
@@ -107,7 +107,7 @@
 		if (session && channel && tech_pvt) {
 			if (sip->sip_payload && sip->sip_payload->pl_data) {
 				char *p;
-				int status;
+				int status = 0;
 				if ((p = strchr(sip->sip_payload->pl_data, ' '))) {
 					p++;
 					if (p) {



More information about the Freeswitch-svn mailing list