Commit ecb4a895 authored by Ronald S. Bultje's avatar Ronald S. Bultje Committed by Diego Biurrun

Properly initialize filesize during input buffer initialization.

patch by Ronald S. Bultje, rbultje ronald.bitfreak net

Originally committed as revision 8343 to svn://
parent 792098c2
......@@ -242,6 +242,7 @@ static int http_connect(URLContext *h, const char *path, const char *hoststr,
s->buf_end = s->buffer;
s->line_count = 0;
s->off = 0;
s->filesize = -1;
if (post) {
return 0;
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