]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - dccp_send.c
cleanup: remove redundant 'max length' argument
[paraslash.git] / dccp_send.c
index 77bee09783ad2cd46b7a55a70722b2dc5ffc4c93..9a2f6caf33a2982cc621de6d8cfe04f27fd25573 100644 (file)
@@ -102,7 +102,7 @@ static int dccp_init_fec(struct sender_client *sc)
 
 static int dccp_send_fec(struct sender_client *sc, char *buf, size_t len)
 {
-       int ret = write_nonblock(sc->fd, buf, len, 0);
+       int ret = write_nonblock(sc->fd, buf, len);
 
        if (ret < 0)
                dccp_shutdown_client(sc);