From c68000df6cb8bdf3158ca1132b2e251112d849a8 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Wed, 9 Oct 1996 15:53:17 +0000 Subject: Don't include the client hostname in the lockfile name. On multiple hosts with shared TMPDIR this change might catch a few more exclusions. svn path=/trunk/; revision=257 --- fetchmail.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/fetchmail.c b/fetchmail.c index 5deb7058..d61efc17 100644 --- a/fetchmail.c +++ b/fetchmail.c @@ -237,8 +237,6 @@ char **argv; tmpdir = "/tmp"; strcpy(tmpbuf, tmpdir); strcat(tmpbuf, "/fetchmail-"); - gethostname(tmpbuf + strlen(tmpbuf), HOSTLEN+1); - strcat(tmpbuf, "-"); strcat(tmpbuf, user); /* perhaps we just want to check options? */ -- cgit v1.2.3