diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1999-01-30 04:41:00 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1999-01-30 04:41:00 +0000 |
commit | 61345121e51771328803c9ee8fbe15e4177a25df (patch) | |
tree | c3aa7d3626b63567096546435932c509d2dfec41 /interface.c | |
parent | 46a0fc8557cf1c5b765c7c761d891aa6f021c159 (diff) | |
download | fetchmail-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.c | 6 |
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; |