diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-05-07 23:21:52 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-05-07 23:21:52 +0200 |
commit | 9ceca0a12166cefdf07aedc3c187fdd2f72fdec8 (patch) | |
tree | 0832be27b9011695a6d610b610eb047b2e3596e3 /uclient.h | |
parent | 3a61c3f4a8820def50e7fbe68e31a07648102eca (diff) | |
download | uclient-9ceca0a12166cefdf07aedc3c187fdd2f72fdec8.tar.gz |
fetch: indicate an error if the connection was terminated prematurely
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Diffstat (limited to 'uclient.h')
-rw-r--r-- | uclient.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -62,6 +62,7 @@ struct uclient { void *priv; bool eof; + bool data_eof; int error_code; int status_code; struct blob_attr *meta; |