git.videolan.org
/
vlc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60a8fef
)
netconf: fix flawed logic
author
Rémi Denis-Courmont
<remi@remlab.net>
Thu, 24 Apr 2014 18:14:17 +0000
(21:14 +0300)
committer
Rémi Denis-Courmont
<remi@remlab.net>
Thu, 24 Apr 2014 18:14:17 +0000
(21:14 +0300)
src/posix/netconf.c
patch
|
blob
|
history
diff --git
a/src/posix/netconf.c
b/src/posix/netconf.c
index
9e794bb
..
4dd751b
100644
(file)
--- a/
src/posix/netconf.c
+++ b/
src/posix/netconf.c
@@
-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));