]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - net.c
net: Pass true/false instead of 0/1 to makesock().
[paraslash.git] / net.c
diff --git a/net.c b/net.c
index 96950ae932187a1e6c4d0270bad02775efdab2da..d6dfa7e3f56409bf2d5daf4ae534a348c86a1370 100644 (file)
--- a/net.c
+++ b/net.c
@@ -870,7 +870,7 @@ int dccp_available_ccids(uint8_t **ccid_array)
        socklen_t nccids = sizeof(ccids);
        int ret, fd;
 
-       ret = fd = makesock(IPPROTO_DCCP, 1, NULL, 0, NULL);
+       ret = fd = makesock(IPPROTO_DCCP, true /* passive */, NULL, 0, NULL);
        if (ret < 0)
                return ret;