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

Fix previous commit

parent 14dbb864
......@@ -928,7 +928,7 @@ char *__net_Gets( vlc_object_t *p_this, int fd, v_socket_t *p_vs )
*ptr-- = '\0';
if( ( ptr > psz_line ) && ( *ptr == '\r' ) )
if( ( ptr >= psz_line ) && ( *ptr == '\r' ) )
*ptr = '\0';
return psz_line;
......
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