aboutsummaryrefslogtreecommitdiffstats
path: root/lock.c
diff options
context:
space:
mode:
Diffstat (limited to 'lock.c')
-rw-r--r--lock.c2
1 files changed, 1 insertions, 1 deletions
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);
}