aboutsummaryrefslogtreecommitdiffstats
path: root/pbx.c
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-05-01 18:37:37 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-05-01 18:37:37 +0000
commit72e95513057baddb912383cc56bb12e2109b33c7 (patch)
tree80cb2250acd16b3c68ba7b612edd93d55ff0dd4d /pbx.c
parent6622001d6d3a0026b1c82238acd0f4c0d1c7b228 (diff)
add SIP_HEADER function, mark SIPGetHeader app deprecated (will be removed on 2005-05-31)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5540 f38db490-d61c-443f-a65b-d21fe96a405b
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);