xbps_fetch_file: erm fix previous, FETH_UNCHANGED is the correct one.
--HG-- extra : convert_revision : xtraeme%40gmail.com-20091031105541-8v2qt83jxazsxean
This commit is contained in:
parent
a9b7ffa94a
commit
10e76c6420
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user