Change printf to ast_log (bug #238)
authorMark Spencer <markster@digium.com>
Mon, 8 Sep 2003 16:08:07 +0000 (16:08 +0000)
committerMark Spencer <markster@digium.com>
Mon, 8 Sep 2003 16:08:07 +0000 (16:08 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1484 65c4cc65-6c06-0410-ace0-fbb531ad65f3

pbx.c

diff --git a/pbx.c b/pbx.c
index bb57127..9228991 100755 (executable)
--- a/pbx.c
+++ b/pbx.c
@@ -1053,7 +1053,7 @@ void pbx_substitute_variables_helper(struct ast_channel *c,const char *cp1,char
                        /* Evaluate expression */                       
                        cp4 = ast_expr(vars);
                        
-                       printf("Expression is '%s'\n", cp4);
+                       ast_log(LOG_DEBUG, "Expression is '%s'\n", cp4);
                        
                        if (cp4) {
                                length = strlen(cp4);