summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2022-01-03 23:13:51 +0100
committerDaniel Stenberg <daniel@haxx.se>2022-01-03 23:14:14 +0100
commit0547e71b56374b93a0de7a49bc4c001af5b94481 (patch)
treeeb8f66d70d59005343e28e731ed56199bac8f2e8
parent1e923e3680782fcf3e79845a4fb633d597e672f1 (diff)
downloadcurl-bagder/config-curlrc.tar.gz
fixup for windows checksbagder/config-curlrc
-rw-r--r--src/tool_findfile.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tool_findfile.c b/src/tool_findfile.c
index 82fc41580..766586f69 100644
--- a/src/tool_findfile.c
+++ b/src/tool_findfile.c
@@ -131,6 +131,7 @@ char *findfile(const char *fname, int dotscore)
defined so we skip the extended check */
continue;
filename++; /* move past the leading dot */
+ dotscore = 0; /* disable it for this check */
}
path = checkhome(home, filename, dotscore ? dotscore - 1 : 0);
curl_free(home);