diff options
author | Paul Cadach <paul@odt.east.telecom.kz> | 2006-09-27 12:32:06 +0000 |
---|---|---|
committer | Paul Cadach <paul@odt.east.telecom.kz> | 2006-09-27 12:32:06 +0000 |
commit | e1e63b2355c6aa997135b721894a9bba8bed5393 (patch) | |
tree | 89a65008f778d5d3eaf4e88203756e16a89ee87d /channels/chan_h323.c | |
parent | 46c0ca89c2c243f0782afdb19fcc9f0ac772e1f5 (diff) |
Use ast_strdupa() instead of strdup(), thanks to sergee
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43763 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/chan_h323.c')
-rw-r--r-- | channels/chan_h323.c | 2 |
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); |