summaryrefslogtreecommitdiff
path: root/src/helper/log.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/helper/log.c')
-rw-r--r--src/helper/log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helper/log.c b/src/helper/log.c
index de74f9d0..85861988 100644
--- a/src/helper/log.c
+++ b/src/helper/log.c
@@ -74,7 +74,7 @@ static void log_puts(enum log_levels level, const char *file, int line, const ch
if (f != NULL)
file = f + 1;
- if (strchr(buffer, '\n')!=NULL)
+ if (strchr(string, '\n')!=NULL)
{
if (debug_level >= LOG_DEBUG)
{