[asterisk-commits] pcadach: trunk r43763 -
/trunk/channels/chan_h323.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Wed Sep 27 05:32:07 MST 2006
Author: pcadach
Date: Wed Sep 27 07:32:06 2006
New Revision: 43763
URL: http://svn.digium.com/view/asterisk?rev=43763&view=rev
Log:
Use ast_strdupa() instead of strdup(), thanks to sergee
Modified:
trunk/channels/chan_h323.c
Modified: trunk/channels/chan_h323.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_h323.c?rev=43763&r1=43762&r2=43763&view=diff
==============================================================================
--- trunk/channels/chan_h323.c (original)
+++ trunk/channels/chan_h323.c Wed Sep 27 07:32:06 2006
@@ -1258,7 +1258,7 @@
} else if (!strcasecmp(v->name, "disallow")) {
ast_parse_allow_disallow(&options->prefs, &options->capability, v->value, 0);
} else if (!strcasecmp(v->name, "dtmfmode")) {
- val = strdupa(v->value);
+ val = ast_strdupa(v->value);
if ((opt = strchr(val, ':')) != (char *)NULL) {
*opt++ = '\0';
tmp = atoi(opt);
More information about the asterisk-commits
mailing list