Commit 0e1dc793 authored by Max Kellermann's avatar Max Kellermann

input/soup: report failure in _read()

To report failures to callers who don't use _buffer().
parent 0ef15e5f
......@@ -308,6 +308,7 @@ input_soup_read(struct input_stream *is, void *ptr, size_t size,
assert(!s->alive);
g_mutex_unlock(s->mutex);
g_set_error_literal(error_r, soup_quark(), 0, "HTTP failure");
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