[Freeswitch-svn] [commit] r1813 - freeswitch/trunk/src/mod/endpoints/mod_exosip

Freeswitch SVN anthm at freeswitch.org
Mon Jul 10 13:10:40 EDT 2006


Author: anthm
Date: Mon Jul 10 13:10:40 2006
New Revision: 1813

Modified:
   freeswitch/trunk/src/mod/endpoints/mod_exosip/mod_exosip.c

Log:
break 2 loops instead of 1

Modified: freeswitch/trunk/src/mod/endpoints/mod_exosip/mod_exosip.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_exosip/mod_exosip.c	(original)
+++ freeswitch/trunk/src/mod/endpoints/mod_exosip/mod_exosip.c	Mon Jul 10 13:10:40 2006
@@ -1545,7 +1545,7 @@
 				*dpayload = strdup(payload);
 				switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_INFO, "Found negotiated codec Payload: %s Name: %s Rate: %s\n",
 								  *dpayload, *dname, *drate);	
-				break;
+				goto done;
 			}
 
 		}
@@ -1553,6 +1553,7 @@
 		attr = NULL;
 		pos++;
 	}
+ done:
 
 	return status;
 }



More information about the Freeswitch-svn mailing list