From: wessels <> Date: Thu, 11 Apr 1996 23:27:55 +0000 (+0000) Subject: gindent X-Git-Tag: SQUID_3_0_PRE1~6214 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=89b37f2ae37da2f4434fb8cab63973daf20904dc;p=thirdparty%2Fsquid.git gindent --- diff --git a/src/acl.cc b/src/acl.cc index 51b8bb80c7..9cf0425790 100644 --- a/src/acl.cc +++ b/src/acl.cc @@ -1,4 +1,4 @@ -#ident "$Id: acl.cc,v 1.5 1996/04/11 17:27:17 wessels Exp $" +#ident "$Id: acl.cc,v 1.6 1996/04/11 17:27:55 wessels Exp $" /* * DEBUG: Section 28 acl @@ -277,8 +277,8 @@ void aclParseAccessLine(line_in) Tail = &L->next; } if (A->acl_list == NULL) { - debug(28,0,"aclParseAccessLine: Access line contains no ACL's, skipping\n"); - debug(28,0,"aclParseAccessLine: '%s'\n", line_in); + debug(28, 0, "aclParseAccessLine: Access line contains no ACL's, skipping\n"); + debug(28, 0, "aclParseAccessLine: '%s'\n", line_in); xfree(A); return; } @@ -294,15 +294,15 @@ int aclMatchIp(data, c) struct in_addr h; while (data) { h.s_addr = c.s_addr & data->mask1.s_addr; - debug(28,1,"aclMatchIp: h = %s\n", inet_ntoa(h)); - debug(28,1,"aclMatchIp: addr1 = %s\n", inet_ntoa(data->addr1)); + debug(28, 1, "aclMatchIp: h = %s\n", inet_ntoa(h)); + debug(28, 1, "aclMatchIp: addr1 = %s\n", inet_ntoa(data->addr1)); if (h.s_addr == data->addr1.s_addr) { - debug(28,1,"aclMatchIp: returning 1\n"); + debug(28, 1, "aclMatchIp: returning 1\n"); return 1; } data = data->next; } - debug(28,1,"aclMatchIp: returning 0\n"); + debug(28, 1, "aclMatchIp: returning 0\n"); return 0; } @@ -325,7 +325,7 @@ int aclMatchRegex(data, word) { debug(28, 1, "aclMatchRegex: looking for '%s'\n", word); while (data) { - debug(28, 1, "aclMatchRegex: checking '%s'\n", data->pattern); + debug(28, 1, "aclMatchRegex: checking '%s'\n", data->pattern); if (regexec(&data->regex, word, 0, 0, 0) == 0) return 1; data = data->next; @@ -400,12 +400,12 @@ int aclMatchAclList(list, c, pr, h, po, r) debug(28, 1, "aclMatchAclList: list=%p op=%d\n", list, list->op); while (list) { if (aclMatchAcl(list->acl, c, pr, h, po, r) != list->op) { - debug(28,1,"aclMatchAclList: returning 0\n"); + debug(28, 1, "aclMatchAclList: returning 0\n"); return 0; } list = list->next; } - debug(28,1,"aclMatchAclList: returning 1\n"); + debug(28, 1, "aclMatchAclList: returning 1\n"); return 1; }