[Asterisk-cvs] asterisk/channels chan_h323.c,1.9,1.10

jeremy at lists.digium.com jeremy at lists.digium.com
Wed Dec 3 13:42:33 CST 2003


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

Modified Files:
	chan_h323.c 
Log Message:
add warning for keywords in type=h323 that make no sense


Index: chan_h323.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_h323.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- chan_h323.c	21 Oct 2003 13:12:30 -0000	1.9
+++ chan_h323.c	3 Dec 2003 20:08:58 -0000	1.10
@@ -205,6 +205,8 @@
 				strncpy(alias->context,  v->value, sizeof(alias->context)-1);
 			} else if (!strcasecmp(v->name, "secret")) {
 				strncpy(alias->secret,  v->value, sizeof(alias->secret)-1);
+			} else {
+					ast_log(LOG_WARNING, "Keyword %s does not make sense in type=h323\n", v->value);
 			}
 			v = v->next;
 		}




More information about the svn-commits mailing list