]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
we can't have sprintf() munging '\r'!!!!
authorwessels <>
Sat, 19 Jul 1997 10:25:38 +0000 (10:25 +0000)
committerwessels <>
Sat, 19 Jul 1997 10:25:38 +0000 (10:25 +0000)
lib/snprintf.c

index 34a04015a39eb51e7d3bd014259f3ead27a92edd..75bb6861271e5c93588782b3042dcc232e79b5d2 100644 (file)
@@ -336,7 +336,7 @@ static void
 dopr_outch(c)
      int c;
 {
-    if (iscntrl(c) && c != '\n' && c != '\t') {
+    if (iscntrl(c) && c != '\n' && c != '\t' && c != '\r') {
        c = '@' + (c & 0x1F);
        if (end == 0 || output < end) {
            *output++ = '^';