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 d4e6c99e58cf8d3b731a0f7b243de550e2847be1..aca1912b5be32b0a882af2fbf31b4d0c16275dbd 100644 (file)
@@ -284,7 +284,7 @@ bool net2str(char *netstr, int len, const subnet_t *subnet)
                        exit(0);
        }
 
                        exit(0);
        }
 
-       return netstr;
+       return true;
 }
 
 /* Subnet lookup routines */
 }
 
 /* Subnet lookup routines */