summaryrefslogtreecommitdiffstats
path: root/stream/network.c
diff options
context:
space:
mode:
Diffstat (limited to 'stream/network.c')
-rw-r--r--stream/network.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stream/network.c b/stream/network.c
index 11c8a2d460..cf01bf7144 100644
--- a/stream/network.c
+++ b/stream/network.c
@@ -274,7 +274,7 @@ http_send_request( URL_t *url, off_t pos ) {
}
mp_msg(MSGT_NETWORK,MSGL_DBG2,"Request: [%s]\n", http_hdr->buffer );
- ret = send( fd, http_hdr->buffer, http_hdr->buffer_size, 0 );
+ ret = send( fd, http_hdr->buffer, http_hdr->buffer_size, DEFAULT_SEND_FLAGS );
if( ret!=(int)http_hdr->buffer_size ) {
mp_tmsg(MSGT_NETWORK,MSGL_ERR,"Error while sending HTTP request: Didn't send all the request.\n");
goto err_out;