aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xlogger.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/logger.c b/logger.c
index ca0e34a52..857b8c393 100755
--- a/logger.c
+++ b/logger.c
@@ -608,7 +608,7 @@ static void strip_coloring(char *str)
{
char *src, *dest, *end;
- if (!src)
+ if (!str)
return;
/* find the first potential escape sequence in the string */