Commit 4c685fc5 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Remove misleading dummy "Interrupted system call" error from net_Read

Signed-off-by: default avatarRémi Denis-Courmont <rem@videolan.org>
parent 7af51d10
...@@ -332,7 +332,7 @@ __net_Read (vlc_object_t *restrict p_this, int fd, const v_socket_t *vs, ...@@ -332,7 +332,7 @@ __net_Read (vlc_object_t *restrict p_this, int fd, const v_socket_t *vs,
#else #else
errno = EINTR; errno = EINTR;
#endif #endif
goto error; goto silent;
} }
} }
...@@ -403,6 +403,7 @@ __net_Read (vlc_object_t *restrict p_this, int fd, const v_socket_t *vs, ...@@ -403,6 +403,7 @@ __net_Read (vlc_object_t *restrict p_this, int fd, const v_socket_t *vs,
error: error:
msg_Err (p_this, "Read error: %m"); msg_Err (p_this, "Read error: %m");
silent:
return -1; return -1;
} }
......
Markdown is supported
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