mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-16 00:41:41 +00:00
update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1182 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
021ea0e724
commit
1f3dedbf2d
@ -224,7 +224,8 @@ SWITCH_DECLARE(void) switch_log_printf(switch_text_channel channel, char *file,
|
|||||||
if (level == SWITCH_LOG_CONSOLE || !THREAD_RUNNING) {
|
if (level == SWITCH_LOG_CONSOLE || !THREAD_RUNNING) {
|
||||||
fprintf(handle, data);
|
fprintf(handle, data);
|
||||||
}
|
}
|
||||||
if (level >= MAX_LEVEL) {
|
|
||||||
|
if (level <= MAX_LEVEL) {
|
||||||
switch_log_node *node = malloc(sizeof(*node));
|
switch_log_node *node = malloc(sizeof(*node));
|
||||||
node->data = data;
|
node->data = data;
|
||||||
node->file = strdup(filep);
|
node->file = strdup(filep);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user