]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
gindent
authorwessels <>
Thu, 11 Apr 1996 23:27:55 +0000 (23:27 +0000)
committerwessels <>
Thu, 11 Apr 1996 23:27:55 +0000 (23:27 +0000)
src/acl.cc

index 51b8bb80c76260a9dfad3bf19a92b3c67d8f8ca9..9cf0425790b9bf195a244fd58981b9794f0b4d72 100644 (file)
@@ -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;
 }