Correct return value.
authorGuus Sliepen <guus@tinc-vpn.org>
Mon, 1 Nov 2004 15:16:12 +0000 (15:16 +0000)
committerGuus Sliepen <guus@tinc-vpn.org>
Mon, 1 Nov 2004 15:16:12 +0000 (15:16 +0000)
src/subnet.c

index d4e6c99..aca1912 100644 (file)
@@ -284,7 +284,7 @@ bool net2str(char *netstr, int len, const subnet_t *subnet)
                        exit(0);
        }
 
-       return netstr;
+       return true;
 }
 
 /* Subnet lookup routines */