fix obvious coding error from yesterday's fix
authorKevin P. Fleming <kpfleming@digium.com>
Sun, 3 Apr 2005 21:25:45 +0000 (21:25 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Sun, 3 Apr 2005 21:25:45 +0000 (21:25 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5369 65c4cc65-6c06-0410-ace0-fbb531ad65f3

logger.c

index ca0e34a..857b8c3 100755 (executable)
--- 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 */