]> jfr.im git - irc/quakenet/newserv.git/commitdiff
whitespace
authorPaul <redacted>
Thu, 3 Apr 2008 21:57:58 +0000 (22:57 +0100)
committerPaul <redacted>
Thu, 3 Apr 2008 21:57:58 +0000 (22:57 +0100)
patricia/patricialib.c

index a68fa552271a8ec94209598ea49155f4b407b904..0752016cf9129c5f63b5dd3f20bedc78f5ce5b30 100644 (file)
@@ -53,6 +53,7 @@ comp_with_mask (void *addr, void *dest, u_int mask)
     return (0);
 }
 
+
 prefix_t *
 patricia_new_prefix (struct irc_in_addr *dest, int bitlen)
 {
@@ -225,7 +226,7 @@ patricia_search_exact (patricia_tree_t *patricia, struct irc_in_addr *sin, unsig
        return (NULL);
     assert (node->bit == bitlen);
     assert (node->bit == node->prefix->bitlen);
-    if (comp_with_mask (prefix_tochar (node->prefix), addr,    bitlen)) {
+    if (comp_with_mask (prefix_tochar (node->prefix), addr, bitlen)) {
        return (node);
     }
     return (NULL);
@@ -346,7 +347,7 @@ patricia_lookup (patricia_tree_t *patricia, prefix_t *prefix)
            continue;
        }
        /* I know the better way, but for now */
-       for (j = 0; j < 8; j++) {
+        for (j = 0; j < 8; j++) {
            if ((r) & ((0x80 >> j)))
                break;
        }