]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix null printf
authorAnthony Minessale <anthm@freeswitch.org>
Wed, 30 Mar 2011 20:10:40 +0000 (15:10 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Wed, 30 Mar 2011 20:10:45 +0000 (15:10 -0500)
src/switch_channel.c

index 52542e12d69a5c3d8a931c99e422f76c2d4e705e..0476981331a59489201ee409227b7f0896553285 100644 (file)
@@ -2456,8 +2456,8 @@ SWITCH_DECLARE(void) switch_channel_flip_cid(switch_channel_t *channel)
 
        switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(channel->session), SWITCH_LOG_INFO, "%s Flipping CID from \"%s\" <%s> to \"%s\" <%s>\n", 
                                          switch_channel_get_name(channel),
-                                         switch_channel_get_variable(channel, "pre_transfer_caller_id_name"),
-                                         switch_channel_get_variable(channel, "pre_transfer_caller_id_number"),
+                                         switch_str_nil(switch_channel_get_variable(channel, "pre_transfer_caller_id_name")),
+                                         switch_str_nil(switch_channel_get_variable(channel, "pre_transfer_caller_id_number")),
                                          channel->caller_profile->caller_id_name,
                                          channel->caller_profile->caller_id_number
                                          );