summaryrefslogtreecommitdiff
path: root/pbx.c
diff options
context:
space:
mode:
authorKevin P. Fleming <kpfleming@digium.com>2005-05-01 18:37:37 +0000
committerKevin P. Fleming <kpfleming@digium.com>2005-05-01 18:37:37 +0000
commitb1826af73582b1f8ceac972f85ff585358c4c523 (patch)
tree80cb2250acd16b3c68ba7b612edd93d55ff0dd4d /pbx.c
parent7d4b53c57a9a4301101179594cac666f3fd97b86 (diff)
add SIP_HEADER function, mark SIPGetHeader app deprecated (will be removed on 2005-05-31)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5540 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'pbx.c')
-rwxr-xr-xpbx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pbx.c b/pbx.c
index 68c0a55eb..6216ecb96 100755
--- a/pbx.c
+++ b/pbx.c
@@ -1463,7 +1463,7 @@ static void pbx_substitute_variables_helper_full(struct ast_channel *c, const ch
/* Evaluate function */
cp4 = ast_func_read(c, vars, workspace, sizeof(workspace));
- ast_log(LOG_DEBUG, "Function result is '%s'\n", cp4);
+ ast_log(LOG_DEBUG, "Function result is '%s'\n", cp4 ? cp4 : "(null)");
} else {
/* Retrieve variable value */
pbx_retrieve_variable(c, vars, &cp4, workspace, sizeof(workspace), headp);