From b27a75cd05b681bbdd95396b2874303d6fed4ae0 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Sat, 28 Sep 2019 11:23:50 +0200 Subject: 6.4.1, regression fix for default file locations. The fix between 6.4.0-rc4 and 6.4.0 for Debian Bug#941129 caused a regression in the default file locations, some files were looked for without dot (.fetchmail.pid, .fetchmailrc). Reported by Cy Schubert. --- lock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lock.c') diff --git a/lock.c b/lock.c index 53846c83..7f8b8667 100644 --- a/lock.c +++ b/lock.c @@ -50,7 +50,7 @@ void fm_lock_setup(struct runctl *ctl) + strlen(FETCHMAIL_PIDFILE) + 3); /* 3: "/", "." and NUL */ strcpy(lockfile, fmhome); strcat(lockfile, "/"); - if (fmhome == home) + if (at_home) strcat(lockfile, "."); strcat(lockfile, FETCHMAIL_PIDFILE); } -- cgit v1.2.3