Update of /usr/cvsroot/asterisk
In directory localhost.localdomain:/tmp/cvs-serv22015

Modified Files:
        pbx.c 
Log Message:
add SIP_HEADER function, mark SIPGetHeader app deprecated (will be removed on 
2005-05-31)


Index: pbx.c
===================================================================
RCS file: /usr/cvsroot/asterisk/pbx.c,v
retrieving revision 1.233
retrieving revision 1.234
diff -u -d -r1.233 -r1.234
--- pbx.c       29 Apr 2005 17:00:33 -0000      1.233
+++ pbx.c       1 May 2005 18:37:37 -0000       1.234
@@ -1463,7 +1463,7 @@
                                /* 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);

_______________________________________________
Asterisk-Cvs mailing list
Asterisk-Cvs@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-cvs

Reply via email to