aboutsummaryrefslogtreecommitdiffstats
path: root/interface.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1999-01-30 04:41:00 +0000
committerEric S. Raymond <esr@thyrsus.com>1999-01-30 04:41:00 +0000
commit61345121e51771328803c9ee8fbe15e4177a25df (patch)
treec3aa7d3626b63567096546435932c509d2dfec41 /interface.c
parent46a0fc8557cf1c5b765c7c761d891aa6f021c159 (diff)
downloadfetchmail-61345121e51771328803c9ee8fbe15e4177a25df.tar.gz
fetchmail-61345121e51771328803c9ee8fbe15e4177a25df.tar.bz2
fetchmail-61345121e51771328803c9ee8fbe15e4177a25df.zip
This version appears ready to ship.
svn path=/trunk/; revision=2355
Diffstat (limited to 'interface.c')
-rw-r--r--interface.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/interface.c b/interface.c
index 22c1a35b..ccccd505 100644
--- a/interface.c
+++ b/interface.c
@@ -168,7 +168,7 @@ void interface_parse(char *buf, struct hostdata *hp)
/* find and isolate just the IP address */
if (!(cp1 = strchr(buf, '/')))
- (void) report(stderr, PS_SYNTAX, 0, _("missing IP interface address"));
+ (void) report(stderr, PS_SYNTAX, _("missing IP interface address"));
*cp1++ = '\000';
/* find and isolate just the netmask */
@@ -180,9 +180,9 @@ void interface_parse(char *buf, struct hostdata *hp)
/* convert IP address and netmask */
hp->interface_pair = (struct interface_pair_s *)xmalloc(sizeof(struct interface_pair_s));
if (!inet_aton(cp1, &hp->interface_pair->interface_address))
- (void) report(stderr, PS_SYNTAX, 0, _("invalid IP interface address"));
+ (void) report(stderr, PS_SYNTAX, _("invalid IP interface address"));
if (!inet_aton(cp2, &hp->interface_pair->interface_mask))
- (void) report(stderr, PS_SYNTAX, 0, _("invalid IP interface mask"));
+ (void) report(stderr, PS_SYNTAX, _("invalid IP interface mask"));
/* apply the mask now to the IP address (range) required */
hp->interface_pair->interface_address.s_addr &=
hp->interface_pair->interface_mask.s_addr;