Commit a8d4796d authored by gbazin's avatar gbazin
Browse files

* src/misc/net.c: fix for the udp-auto-mtu on win32.

parent d0af376e
...@@ -291,7 +291,7 @@ int __net_Read( vlc_object_t *p_this, int fd, uint8_t *p_data, int i_data, ...@@ -291,7 +291,7 @@ int __net_Read( vlc_object_t *p_this, int fd, uint8_t *p_data, int i_data,
{ {
msg_Err( p_this, "recv() failed. " msg_Err( p_this, "recv() failed. "
"Increase the mtu size (--mtu option)" ); "Increase the mtu size (--mtu option)" );
i_recv = i_data; i_total += i_data;
} }
else else
msg_Err( p_this, "recv failed (%i)", WSAGetLastError() ); msg_Err( p_this, "recv failed (%i)", WSAGetLastError() );
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment