aft.c: Silence scan-build warning.
[paraslash.git] / udp_send.c
index 1155bcb4f107da7a71ce869d5f381644b231a626..3e3950f90d232794df915e45c39d2e8ad031d44f 100644 (file)
@@ -288,7 +288,7 @@ static void udp_send_fec(struct sender_client *sc, char *buf, size_t len)
        ret = udp_check_socket_state(sc);
        if (ret < 0)
                goto fail;
-       ret = write_nonblock(sc->fd, buf, len);
+       ret = xwrite(sc->fd, buf, len);
        if (ret == -ERRNO_TO_PARA_ERROR(ECONNREFUSED)) {
                /*
                 * Happens if meanwhile an ICMP Destination / Port Unreachable