aboutsummaryrefslogtreecommitdiffstats
path: root/netrc.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1999-03-28 18:07:22 +0000
committerEric S. Raymond <esr@thyrsus.com>1999-03-28 18:07:22 +0000
commit7bdb93ae05492627dec400bd2bdf1d0272513679 (patch)
tree0e40c2fc709a4c2d278e3f50d7351bb06bff465d /netrc.h
parent5721f1666e25e0ba370e7333a4e86e91d517da6a (diff)
downloadfetchmail-7bdb93ae05492627dec400bd2bdf1d0272513679.tar.gz
fetchmail-7bdb93ae05492627dec400bd2bdf1d0272513679.tar.bz2
fetchmail-7bdb93ae05492627dec400bd2bdf1d0272513679.zip
Fix .netrc code to search on both host and user name.
svn path=/trunk/; revision=2417
Diffstat (limited to 'netrc.h')
-rw-r--r--netrc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/netrc.h b/netrc.h
index c74d6b3c..b47d08b0 100644
--- a/netrc.h
+++ b/netrc.h
@@ -59,7 +59,7 @@ netrc_entry *parse_netrc __P((char *file));
/* Return the netrc entry from LIST corresponding to HOST. NULL is
returned if no such entry exists. */
-netrc_entry *search_netrc __P((netrc_entry *list, char *host));
+netrc_entry *search_netrc __P((netrc_entry *list, char *host, char *account));
__END_DECLS
#endif /* _NETRC_H_ */