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

netconf: fix flawed logic

parent 60a8fefa
......@@ -89,6 +89,7 @@ char *vlc_getProxyUrl(const char *url)
ssize_t val = read(fd[0], buf + len, sizeof (buf) - len);
if (val <= 0)
break;
len += val;
}
while (len < sizeof (buf));
......
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