]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
use blank string instead of NULL
authorAnthony Minessale <anthony.minessale@gmail.com>
Mon, 23 Feb 2009 02:10:10 +0000 (02:10 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Mon, 23 Feb 2009 02:10:10 +0000 (02:10 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12236 d0543943-73ff-0310-b7d9-9358b9ac24b2

libs/esl/src/esl.c

index c3abf6bc8c7dfedee898ebd042aae958d14f524b..5b2d197ba90c8582fa1d0b1a848db26c618e78bb 100644 (file)
@@ -471,7 +471,7 @@ ESL_DECLARE(esl_status_t) esl_execute(esl_handle_t *handle, const char *app, con
        }
 
        snprintf(send_buf, sizeof(send_buf), "%s\ncall-command: execute\n%s%s%s%s\n", 
-                        cmd_buf, app_buf, arg_buf, handle->event_lock ? el_buf : NULL, handle->blocking_execute ? bl_buf : NULL);
+                        cmd_buf, app_buf, arg_buf, handle->event_lock ? el_buf : "", handle->blocking_execute ? bl_buf : "");
 
        return esl_send_recv(handle, send_buf);
 }