[svn-commits] oej: trunk r149342 - /trunk/channels/chan_sip.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed Oct 15 02:45:10 CDT 2008


Author: oej
Date: Wed Oct 15 02:45:09 2008
New Revision: 149342

URL: http://svn.digium.com/view/asterisk?view=rev&rev=149342
Log:
Fixing sytax errors ;-)

Modified:
    trunk/channels/chan_sip.c

Modified: trunk/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_sip.c?view=diff&rev=149342&r1=149341&r2=149342
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Wed Oct 15 02:45:09 2008
@@ -6886,28 +6886,28 @@
 	
 	o = get_sdp(req, "o");
 	if (ast_strlen_zero(o)) {
-		ast_log(LOG_WARNING, "SDP sytax error. SDP without an o= line\n");
+		ast_log(LOG_WARNING, "SDP syntax error. SDP without an o= line\n");
 		return -1;
 	}
 
 	o_copy = ast_strdupa(o);
 	token = strsep(&o_copy, " ");  /* Skip username   */
 	if (!o_copy) { 
-		ast_log(LOG_WARNING, "SDP sytax error in o= line username\n");
+		ast_log(LOG_WARNING, "SDP syntax error in o= line username\n");
 		return -1;
 	}
 	token = strsep(&o_copy, " ");  /* Skip session-id */
 	if (!o_copy) { 
-		ast_log(LOG_WARNING, "SDP sytax error in o= line session-id\n");
+		ast_log(LOG_WARNING, "SDP syntax error in o= line session-id\n");
 		return -1;
 	}
 	token = strsep(&o_copy, " ");  /* Version         */
 	if (!o_copy) { 
-		ast_log(LOG_WARNING, "SDP sytax error in o= line\n");
+		ast_log(LOG_WARNING, "SDP syntax error in o= line\n");
 		return -1;
 	}
 	if (!sscanf(token, "%d", &rua_version)) {
-		ast_log(LOG_WARNING, "SDP sytax error in o= line version\n");
+		ast_log(LOG_WARNING, "SDP syntax error in o= line version\n");
 		return -1;
 	}
 
@@ -6916,7 +6916,7 @@
 		p->session_modify = TRUE;
 	} else if (p->sessionversion_remote == rua_version) {
 		p->session_modify = FALSE;
-		ast_debug(2, "SDP version number same as previous SDP\n");
+		ast_debug(2, "SDP version number same as previous SDP. Not parsing this SDP.\n");
 		return 0;
 	} 
 




More information about the svn-commits mailing list