aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordvossel <dvossel@f38db490-d61c-443f-a65b-d21fe96a405b>2009-11-25 21:38:32 +0000
committerdvossel <dvossel@f38db490-d61c-443f-a65b-d21fe96a405b>2009-11-25 21:38:32 +0000
commitf50504070fcc1ad426c442d669540a25d5c4d403 (patch)
tree05191000ff728b5f53c46ad5e70901aa5b121c48
parent722796cea313ae071699609a538ccc29665089da (diff)
fixes solaris segfault on dial with verbosity >= 3
(closes issue #16193) Reported by: asgaroth Patches: bug_16193_1.4.21.2_vers.diff uploaded by snuffy (license 35) Tested by: asgaroth, snuffy git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@231235 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--apps/app_dial.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/app_dial.c b/apps/app_dial.c
index 9a7cb74de..963b0c9ce 100644
--- a/apps/app_dial.c
+++ b/apps/app_dial.c
@@ -1044,10 +1044,10 @@ static int dial_exec_full(struct ast_channel *chan, void *data, struct ast_flags
warning_sound = S_OR(var, "timeleft");
var = pbx_builtin_getvar_helper(chan,"LIMIT_TIMEOUT_FILE");
- end_sound = S_OR(var, NULL); /* XXX not much of a point in doing this! */
+ end_sound = S_OR(var, "");
var = pbx_builtin_getvar_helper(chan,"LIMIT_CONNECT_FILE");
- start_sound = S_OR(var, NULL); /* XXX not much of a point in doing this! */
+ start_sound = S_OR(var, "");
/* undo effect of S(x) in case they are both used */
calldurationlimit = -1;