aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1997-07-01 20:16:01 +0000
committerEric S. Raymond <esr@thyrsus.com>1997-07-01 20:16:01 +0000
commitd7d0aaf8eb2f802f373a0b011bda6f23883c7c3a (patch)
tree0d4244403102a6cd912886ad227a96df6a3ebbf3 /fetchmail.c
parent500f25a3b7875531d9c09c985a708f3aaa2f7779 (diff)
downloadfetchmail-d7d0aaf8eb2f802f373a0b011bda6f23883c7c3a.tar.gz
fetchmail-d7d0aaf8eb2f802f373a0b011bda6f23883c7c3a.tar.bz2
fetchmail-d7d0aaf8eb2f802f373a0b011bda6f23883c7c3a.zip
Remove poprc compatibility hook.
svn path=/trunk/; revision=1138
Diffstat (limited to 'fetchmail.c')
-rw-r--r--fetchmail.c15
1 files changed, 3 insertions, 12 deletions
diff --git a/fetchmail.c b/fetchmail.c
index 2af4dbdc..da007d00 100644
--- a/fetchmail.c
+++ b/fetchmail.c
@@ -133,20 +133,11 @@ int main (int argc, char **argv)
}
fetchmailhost = xstrdup(tmpbuf);
- /*
- * Backward-compatibility hack. If we're called by the name of the
- * ancestral popclient, look for .poprc. This will actually work
- * for popclient files that don't use the removed keywords.
- */
- if (strcmp("popclient", argv[0]) == 0)
- tmpdir = ".poprc";
- else
- tmpdir = ".fetchmailrc";
-
- rcfile = (char *) xmalloc(strlen(home)+strlen(tmpdir)+2);
+#define RCFILE_NAME ".fetchmailrc"
+ rcfile = (char *) xmalloc(strlen(home)+strlen(RCFILE_NAME)+2);
strcpy(rcfile, home);
strcat(rcfile, "/");
- strcat(rcfile, tmpdir);
+ strcat(rcfile, RCFILE_NAME);
#define IDFILE_NAME ".fetchids"
idfile = (char *) xmalloc(strlen(home)+strlen(IDFILE_NAME)+2);