From: wessels <> Date: Fri, 25 Jun 1999 04:40:21 +0000 (+0000) Subject: missing %'s on snprintf()! X-Git-Tag: SQUID_3_0_PRE1~2139 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=272989d5d681248e4797bc71e1e0fe059771fb43;p=thirdparty%2Fsquid.git missing %'s on snprintf()! --- diff --git a/src/acl.cc b/src/acl.cc index 20b77d5fd9..2bbf8b54e6 100644 --- a/src/acl.cc +++ b/src/acl.cc @@ -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);