]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - http_send.c
afh: Use write_all rather than plain write().
[paraslash.git] / http_send.c
index 8b705d0d156b65f57caab561163b32c65fb77c92..c26572f024557fc4f206835a7e93f24cf59d0231 100644 (file)
@@ -53,7 +53,7 @@ static struct sender_status http_sender_status, *hss = &http_sender_status;
 
 static int http_send_msg(struct sender_client *sc, const char *msg)
 {
-       int ret = send_buffer(sc->fd, msg);
+       int ret = write_buffer(sc->fd, msg);
 
        if (ret < 0)
                shutdown_client(sc, hss);