]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - udp_recv.c
net: Pass true/false instead of 0/1 to makesock().
[paraslash.git] / udp_recv.c
index 8d1274bc1e919e703f3856cc8159269d33756f2c..365b6863087ca78c1bdc446099ff7f17c8b15c6c 100644 (file)
@@ -168,7 +168,7 @@ static int udp_recv_open(struct receiver_node *rn)
        uint32_t port = RECV_CMD_OPT_UINT32_VAL(UDP, PORT, lpr);
        int ret;
 
-       ret = makesock(IPPROTO_UDP, 1, host, port, NULL);
+       ret = makesock(IPPROTO_UDP, true /* passive */, host, port, NULL);
        if (ret < 0)
                return ret;
        rn->fd = ret;