]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - acl.c
Typos
[paraslash.git] / acl.c
diff --git a/acl.c b/acl.c
index fb9cded668dd15baed93c548dfadc64085f98fc3..52eba1d47a4ba6d90cbffd8f6df69036acc36b6f 100644 (file)
--- a/acl.c
+++ b/acl.c
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2005-2008 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2005-2009 Andre Noll <maan@systemlinux.org>
  *
  * Licensed under the GPL v2. For licencing details see COPYING.
  */
@@ -24,7 +24,6 @@ struct access_info {
        struct list_head node;
 };
 
-
 /**
  * Return true if addr_1 matches addr_2 in the first `netmask' bits.
  */
@@ -85,7 +84,6 @@ static void acl_add_entry(struct list_head *acl, struct in_addr addr,
        para_list_add(&ai->node, acl);
 }
 
-
 /**
  * Delete an entry from an access control list.
  *
@@ -169,7 +167,6 @@ success:
        }
 }
 
-
 /**
  * Check whether the peer name of a given fd is allowed by an acl.
  *
@@ -208,8 +205,8 @@ void acl_allow(struct in_addr addr, int netmask,
 /**
  * Deny access for a range of IP addresses.
  *
- * \param addr The address to permit.
- * \param netmask The netmask of the entry to be permitted.
+ * \param addr The address to deny.
+ * \param netmask The netmask of the entry to be denied.
  * \param acl The access control list.
  * \param default_deny Whether \a acl is a whitelist.
  */