]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - http_send.c
oggdec: Do not decode more than necessary.
[paraslash.git] / http_send.c
index c26572f024557fc4f206835a7e93f24cf59d0231..eddc0295f229a26c4e826d8656712c4609a35989 100644 (file)
@@ -125,7 +125,7 @@ static void http_send_chunk(struct sender_client *sc, struct sender_status *ss,
                ret = queue_chunk_or_shutdown(sc, ss, buf, len);
                goto out;
        }
-       ret = write_nonblock(sc->fd, buf, len);
+       ret = xwrite(sc->fd, buf, len);
        if (ret < 0) {
                shutdown_client(sc, ss);
                goto out;