From 10e76c6420e79e487cc4c4e402b4ccd3251934c8 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 31 Oct 2009 11:55:41 +0100 Subject: [PATCH] xbps_fetch_file: erm fix previous, FETH_UNCHANGED is the correct one. --HG-- extra : convert_revision : xtraeme%40gmail.com-20091031105541-8v2qt83jxazsxean --- lib/download.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/download.c b/lib/download.c index 14c9f5b4..68d644f9 100644 --- a/lib/download.c +++ b/lib/download.c @@ -247,8 +247,7 @@ xbps_fetch_file(const char *uri, const char *outputdir, const char *flags) * and If-Modified-Since is unchanged, we are done. */ if (url->offset == st.st_size && - fetchLastErrCode == FETCH_UNCHANGED || - fetchLastErrCode == HTTP_NOT_MODIFIED) + fetchLastErrCode == FETCH_UNCHANGED) goto out; rv = fetchLastErrCode;