summaryrefslogtreecommitdiff
path: root/src/log.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/log.c')
-rw-r--r--src/log.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/log.c b/src/log.c
index 2f63502..c55d85d 100644
--- a/src/log.c
+++ b/src/log.c
@@ -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) {