]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - dccp_send.c
com_init(): Return proper error code.
[paraslash.git] / dccp_send.c
index 53fa54e3fbac6fca71ea6005c10a6fa2e707dd3f..b3bd6263ab39acdddee033053c92f2432e801123 100644 (file)
@@ -102,13 +102,12 @@ static int dccp_init_fec(struct sender_client *sc)
        return mps;
 }
 
-static int dccp_send_fec(struct sender_client *sc, char *buf, size_t len)
+static void dccp_send_fec(struct sender_client *sc, char *buf, size_t len)
 {
        int ret = write_nonblock(sc->fd, buf, len);
 
        if (ret < 0)
                dccp_shutdown_client(sc);
-       return ret;
 }
 
 static void dccp_post_select(fd_set *rfds, __a_unused fd_set *wfds)