]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
no change, just a note that we do not need snprintf here
authorkostas <>
Sat, 3 Jan 1998 05:45:03 +0000 (05:45 +0000)
committerkostas <>
Sat, 3 Jan 1998 05:45:03 +0000 (05:45 +0000)
lib/rfc1738.c

index d2f8791ece53b0bceb0cd3af373e1afbb92da9b1..73f33d192d8938326bb495f9403d19ea5638e395 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: rfc1738.c,v 1.12 1997/10/25 17:22:30 wessels Exp $
+ * $Id: rfc1738.c,v 1.13 1998/01/02 22:45:03 kostas Exp $
  *
  * DEBUG: 
  * AUTHOR: Harvest Derived
@@ -180,6 +180,9 @@ rfc1738_escape(const char *url)
            do_escape = 1;
        }
        /* Do the triplet encoding, or just copy the char */
+       /* note: we do not need snprintf here as q is appropriately
+           allocated - KA */
+
        if (do_escape == 1) {
            (void) sprintf(q, "%%%02x", (unsigned char) *p);
            q += sizeof(char) * 2;