diff options
Diffstat (limited to 'src/log.c')
-rw-r--r-- | src/log.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -160,9 +160,9 @@ void log_init(void) log_parse(sdb_debug); } - char* trace_packet; - trace_packet = getenv(TRACE_PACKET); - if(!strcmp(trace_packet, "true")) { + char* trace_packet_char; + trace_packet_char = getenv(TRACE_PACKET); + if(!strcmp(trace_packet_char, "true")) { trace_packet = 2; } else if ((loglevel_mask & (1 << SDBLOG_INFO)) != 0) { |