dect
/
asterisk
Archived
13
0
Fork 0

Check to see if arg is NULL before passing (#6094)

git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8133 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
mattf 2006-01-17 18:20:33 +00:00
parent 8f2721804e
commit 0e8e832997
1 changed files with 1 additions and 1 deletions

View File

@ -1272,7 +1272,7 @@ int ast_bridge_call(struct ast_channel *chan,struct ast_channel *peer,struct ast
src = chan;
else if ((monitor_exec = pbx_builtin_getvar_helper(peer, "AUTO_MONITOR")))
src = peer;
if (src) {
if (monitor_app && src) {
char *tmp = ast_strdupa(monitor_exec);
if (tmp) {
pbx_exec(src, monitor_app, tmp, 1);