[Asterisk-cvs] asterisk/channels chan_sip.c,1.627,1.628

markster at lists.digium.com markster at lists.digium.com
Tue Jan 11 12:50:14 CST 2005


Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv7461/channels

Modified Files:
	chan_sip.c 
Log Message:
shame on oej for submitting a patch which doesn't even compile, shame on me for comitting it...


Index: chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.627
retrieving revision 1.628
diff -u -d -r1.627 -r1.628
--- chan_sip.c	11 Jan 2005 18:39:48 -0000	1.627
+++ chan_sip.c	11 Jan 2005 18:54:22 -0000	1.628
@@ -8891,7 +8891,7 @@
 			} else if (!strcasecmp(v->name, "mask")) {
 				maskfound++;
 				inet_aton(v->value, &peer->mask);
-			} else if (!strcasecmp(v->name, "port") || !strcasecmp(v-name, "bindport") {
+			} else if (!strcasecmp(v->name, "port") || !strcasecmp(v->name, "bindport")) {
 				if (!realtime && ast_test_flag(peer, SIP_DYNAMIC))
 					peer->defaddr.sin_port = htons(atoi(v->value));
 				else
@@ -9086,7 +9086,7 @@
 			compactheaders = ast_true(v->value);
 		} else if (!strcasecmp(v->name, "notifymimetype")) {
 			strncpy(default_notifymime, v->value, sizeof(default_notifymime) - 1);
-		} else if (!strcasecmp(v->name, "musicclass") || !strcasecmp(v->name, "musiconhold") {
+		} else if (!strcasecmp(v->name, "musicclass") || !strcasecmp(v->name, "musiconhold")) {
 			strncpy(global_musicclass, v->value, sizeof(global_musicclass) - 1);
 		} else if (!strcasecmp(v->name, "language")) {
 			strncpy(default_language, v->value, sizeof(default_language)-1);




More information about the svn-commits mailing list