mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-14 01:49:05 +00:00
constify some arguments to switch_console_printf and switch_cut_path and remove improper casts for the consumers of those functions.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4241 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -169,7 +169,7 @@ SWITCH_DECLARE(void) switch_log_printf(switch_text_channel_t channel, const char
|
||||
int ret = 0;
|
||||
va_list ap;
|
||||
FILE *handle;
|
||||
const char *filep = (file ? (const char *)switch_cut_path((char *)file): "");
|
||||
const char *filep = (file ? switch_cut_path(file): "");
|
||||
const char *funcp = (func ? func : "");
|
||||
char *content = NULL;
|
||||
switch_time_t now = switch_time_now();
|
||||
|
Reference in New Issue
Block a user