aboutsummaryrefslogtreecommitdiffstats
path: root/netrc.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1998-10-26 19:57:45 +0000
committerEric S. Raymond <esr@thyrsus.com>1998-10-26 19:57:45 +0000
commit836bbce0c428581f40d13d8c3d27d1c7adc31ccb (patch)
tree3d03fdd0b5bdda66ef27bf852cac646968968882 /netrc.c
parentbcc60aebf68fd7839c708a623048636a03f05043 (diff)
downloadfetchmail-836bbce0c428581f40d13d8c3d27d1c7adc31ccb.tar.gz
fetchmail-836bbce0c428581f40d13d8c3d27d1c7adc31ccb.tar.bz2
fetchmail-836bbce0c428581f40d13d8c3d27d1c7adc31ccb.zip
Jonathan T. Agnew's massive code cleanup.
svn path=/trunk/; revision=2137
Diffstat (limited to 'netrc.c')
-rw-r--r--netrc.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/netrc.c b/netrc.c
index e88b78c7..6d3a645f 100644
--- a/netrc.c
+++ b/netrc.c
@@ -39,9 +39,7 @@
/* Maybe add NEWENTRY to the account information list, LIST. NEWENTRY is
set to a ready-to-use netrc_entry, in any event. */
static void
-maybe_add_to_list (newentry, list)
- netrc_entry **newentry;
- netrc_entry **list;
+maybe_add_to_list (netrc_entry **newentry, netrc_entry **list)
{
netrc_entry *a, *l;
a = *newentry;
@@ -87,7 +85,8 @@ parse_netrc (file)
char *file;
{
FILE *fp;
- char buf[POPBUFSIZE+1], *p, *tok, *premature_token;
+ char buf[POPBUFSIZE+1], *p, *tok;
+ const char *premature_token;
netrc_entry *current, *retval;
int ln;