[hostfile.c]
unused; typo in comment
+20010408
+ - OpenBSD CVS Sync
+ - stevesk@cvs.openbsd.org 2001/04/06 22:12:47
+ [hostfile.c]
+ unused; typo in comment
+
20010407
- (bal) CVS ID Resync of version.h
- OpenBSD CVS Sync
20010407
- (bal) CVS ID Resync of version.h
- OpenBSD CVS Sync
-RCSID("$OpenBSD: hostfile.c,v 1.24 2001/01/21 19:05:49 markus Exp $");
+RCSID("$OpenBSD: hostfile.c,v 1.25 2001/04/06 22:12:47 stevesk Exp $");
#include "packet.h"
#include "match.h"
#include "packet.h"
#include "match.h"
FILE *f;
char line[8192];
int linenum = 0;
FILE *f;
char line[8192];
int linenum = 0;
char *cp, *cp2;
HostStatus end_return;
char *cp, *cp2;
HostStatus end_return;
- /* Cache the length of the host name. */
- hostlen = strlen(host);
-
/*
* Return value when the loop terminates. This is set to
* HOST_CHANGED if we have seen a different key for the host and have
/*
* Return value when the loop terminates. This is set to
* HOST_CHANGED if we have seen a different key for the host and have
*/
end_return = HOST_NEW;
*/
end_return = HOST_NEW;
- /* Go trough the file. */
+ /* Go through the file. */
while (fgets(line, sizeof(line), f)) {
cp = line;
linenum++;
while (fgets(line, sizeof(line), f)) {
cp = line;
linenum++;