]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
looks like snprintf() breaks badly if given an unsupported format
authorwessels <>
Mon, 28 Jul 1997 12:42:57 +0000 (12:42 +0000)
committerwessels <>
Mon, 28 Jul 1997 12:42:57 +0000 (12:42 +0000)
such as '%f'.

lib/snprintf.c

index 219244acd4ae343287ab40309857adb5f785bdf4..d8e6fcb3ebd48d8544104baa5b697dfeba7caa06 100644 (file)
@@ -221,7 +221,7 @@ dopr(buffer, format, args)
                dopr_outch(ch);
                continue;
            default:
-               dostr("???????");
+               dostr("UNSUPPORTED");
            }
            longflag = 0;
            break;