[Asterisk-cvs] asterisk/channels chan_mgcp.c,1.98,1.99

markster at lists.digium.com markster at lists.digium.com
Sun Dec 19 16:22:15 CST 2004


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

Modified Files:
	chan_mgcp.c 
Log Message:
Fix MGCP compile warnings


Index: chan_mgcp.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_mgcp.c,v
retrieving revision 1.98
retrieving revision 1.99
diff -u -d -r1.98 -r1.99
--- chan_mgcp.c	19 Dec 2004 21:13:41 -0000	1.98
+++ chan_mgcp.c	19 Dec 2004 21:18:17 -0000	1.99
@@ -2931,7 +2931,7 @@
 				g = p->parent;
 				tmp_ep = g->endpoints;
 				while (tmp_ep) {
-					/*if ((strcmp(tmp_ep->name, "*") != 0) && (strcmp(tmp_ep->name, "aaln/*") != 0)) { */
+					/*if ((strcmp(tmp_ep->name, "*") != 0) && (strcmp(tmp_ep->name, "aaln/" "*") != 0)) { */
 					if (strcmp(tmp_ep->name, g->wcardep) != 0) {
 						struct mgcp_subchannel *tmp_sub, *first_sub;
 						if (option_verbose > 2) {
@@ -3635,7 +3635,7 @@
                         e->needaudit = 1;
                     }
                     strncpy(gw->wcardep, v->value, sizeof(gw->wcardep)-1);
-					/*strncpy(e->name, "aaln/*", sizeof(e->name) - 1); */
+					/*strncpy(e->name, "aaln/" "*", sizeof(e->name) - 1); */
 					/* XXX Should we really check for uniqueness?? XXX */
 					strncpy(e->context, context, sizeof(e->context) - 1);
 					strncpy(e->cid_num, cid_num, sizeof(e->cid_num) - 1);




More information about the svn-commits mailing list