Skip to content

Commit 1697dac

Browse files
Remove assertion of RetrieveUrlCacheEntryFileA err, log instead
1 parent 079bba9 commit 1697dac

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

requests.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,9 @@ try_init_from_cache(Request *req)
246246
cacheData = realloc(cacheData, lenlen);
247247
goto retry;
248248
}
249-
assert(err == ERROR_FILE_NOT_FOUND);
249+
if (err != ERROR_FILE_NOT_FOUND) {
250+
logmsg("RetrieveUrlCacheEntryFileA returned unexpected err %d\n", err);
251+
}
250252
goto cleanup;
251253
}
252254

0 commit comments

Comments
 (0)