X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=udp_send.c;h=49f84acdd156e870d7ec5219e1400dff07aa61d4;hb=4933008f5d057eddcc0dc9772f46b32b67c91767;hp=70373c99d4fbbd8526837179dd8f24a0c68153e6;hpb=75c441f2f8de1733cfdaaae2acd8a8d5b7900a7d;p=paraslash.git diff --git a/udp_send.c b/udp_send.c index 70373c99..49f84acd 100644 --- a/udp_send.c +++ b/udp_send.c @@ -263,6 +263,7 @@ static int udp_send_fec(struct sender_client *sc, char *buf, size_t len) if (!ret) { /* still data left in the queue */ ret = cq_force_enqueue(sc->cq, buf, len); assert(ret >= 0); + return 0; } ret = write_nonblock(sc->fd, buf, len); if (ret == -ERRNO_TO_PARA_ERROR(ECONNREFUSED))