aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1997-09-16 20:52:45 +0000
committerEric S. Raymond <esr@thyrsus.com>1997-09-16 20:52:45 +0000
commitc6cead5dfe1080eabac232527e31f3f3a6de325e (patch)
treee72ca4fc4637e94a7a174e64ad46715d887ffb11 /fetchmail.c
parent16b211992e97fcfbadb7224c8dd84b3e62bb4518 (diff)
downloadfetchmail-c6cead5dfe1080eabac232527e31f3f3a6de325e.tar.gz
fetchmail-c6cead5dfe1080eabac232527e31f3f3a6de325e.tar.bz2
fetchmail-c6cead5dfe1080eabac232527e31f3f3a6de325e.zip
Autoconfigure correctly for SunOS boxes.
svn path=/trunk/; revision=1355
Diffstat (limited to 'fetchmail.c')
-rw-r--r--fetchmail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fetchmail.c b/fetchmail.c
index 4730e1e7..fea23f37 100644
--- a/fetchmail.c
+++ b/fetchmail.c
@@ -131,7 +131,7 @@ int main (int argc, char **argv)
/* set up to do lock protocol */
if (!getuid())
- strcpy(tmpbuf, "/var/run/fetchmail.pid");
+ sprintf(tmpbuf, "%s/fetchmail.pid", PID_DIR);
else {
strcpy(tmpbuf, home);
strcat(tmpbuf, "/.fetchmail");