Allow tabs
authoraland <aland>
Fri, 4 Nov 2005 19:28:52 +0000 (19:28 +0000)
committeraland <aland>
Fri, 4 Nov 2005 19:28:52 +0000 (19:28 +0000)
src/main/log.c

index 5c5a668..7c57219 100644 (file)
@@ -145,6 +145,7 @@ int vradlog(int lvl, const char *fmt, va_list ap)
        for (p = (unsigned char *)buffer; *p != '\0'; p++) {
                if (*p == '\r' || *p == '\n')
                        *p = ' ';
+               else if (*p == '\t') continue;
                else if (*p < 32 || (*p >= 128 && *p <= 160))
                        *p = '?';
        }