From: Daniel Stenberg Date: Thu, 23 Oct 2025 08:51:03 +0000 (+0200) Subject: netrc: when the cached file is discarded, unmark it as loaded X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F19199%2Fhead;p=thirdparty%2Fcurl.git netrc: when the cached file is discarded, unmark it as loaded Pointed out by ZeroPath --- diff --git a/lib/netrc.c b/lib/netrc.c index 1309d30942..9c5c6c7f20 100644 --- a/lib/netrc.c +++ b/lib/netrc.c @@ -362,6 +362,7 @@ out: } else { curlx_dyn_free(filebuf); + store->loaded = FALSE; if(!specific_login) free(login); free(password);