]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
missing %'s on snprintf()!
authorwessels <>
Fri, 25 Jun 1999 04:40:21 +0000 (04:40 +0000)
committerwessels <>
Fri, 25 Jun 1999 04:40:21 +0000 (04:40 +0000)
src/acl.cc

index 20b77d5fd9c06358b3f61ef247accfde72473027..2bbf8b54e6609f2c8b2d00705ce8100da37b401b 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: acl.cc,v 1.204 1999/05/19 19:57:34 wessels Exp $
+ * $Id: acl.cc,v 1.205 1999/06/24 22:40:21 wessels Exp $
  *
  * DEBUG: section 28    Access Control
  * AUTHOR: Duane Wessels
@@ -2392,7 +2392,7 @@ aclDumpArpListWalkee(void *node, void *state)
     static char buf[24];
     while (*W != NULL)
        W = &(*W)->next;
-    snprintf(buf, sizeof(buf), "%02x:%02x:02x:02x:02x:02x",
+    snprintf(buf, sizeof(buf), "%02x:%02x:%02x:%02x:%02x:%02x",
        arp->eth[0], arp->eth[1], arp->eth[2], arp->eth[3],
        arp->eth[4], arp->eth[5]);
     wordlistAdd(state, buf);