aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_h323.c
diff options
context:
space:
mode:
authorpcadach <pcadach@f38db490-d61c-443f-a65b-d21fe96a405b>2006-09-27 12:32:06 +0000
committerpcadach <pcadach@f38db490-d61c-443f-a65b-d21fe96a405b>2006-09-27 12:32:06 +0000
commitc6d618b89a1088672f89384efcf3c57f0d75b1a0 (patch)
tree89a65008f778d5d3eaf4e88203756e16a89ee87d /channels/chan_h323.c
parent286ef421c7fb17714b821fe7160b5584b867e80f (diff)
Use ast_strdupa() instead of strdup(), thanks to sergee
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43763 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_h323.c')
-rw-r--r--channels/chan_h323.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_h323.c b/channels/chan_h323.c
index 607de74e3..0fad86ffa 100644
--- a/channels/chan_h323.c
+++ b/channels/chan_h323.c
@@ -1258,7 +1258,7 @@ static int update_common_options(struct ast_variable *v, struct call_options *op
} 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);