summaryrefslogtreecommitdiff
path: root/lib/libwrap/fix_options.c
diff options
context:
space:
mode:
authorAnil Madhavapeddy <avsm@cvs.openbsd.org>2003-04-19 18:31:49 +0000
committerAnil Madhavapeddy <avsm@cvs.openbsd.org>2003-04-19 18:31:49 +0000
commit6399f7ab495d8544ea0bea12d7738fa1df3c3605 (patch)
treefd142d1215f1d242163b93771879aa84b35b07f2 /lib/libwrap/fix_options.c
parenta7d3e8ca47a31f24f3463bf602688143464adaa3 (diff)
- kill unused var
- sscanf format string should scan for u_short not u_int - some missing includes - convert u_short -> in_port_t (from millert) ok millert@
Diffstat (limited to 'lib/libwrap/fix_options.c')
-rw-r--r--lib/libwrap/fix_options.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/libwrap/fix_options.c b/lib/libwrap/fix_options.c
index 4c48bccb859..4dfc630d657 100644
--- a/lib/libwrap/fix_options.c
+++ b/lib/libwrap/fix_options.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fix_options.c,v 1.5 2003/04/05 00:49:25 tdeval Exp $ */
+/* $OpenBSD: fix_options.c,v 1.6 2003/04/19 18:31:48 avsm Exp $ */
/*
* Routine to disable IP-level socket options. This code was taken from 4.4BSD
@@ -11,7 +11,7 @@
#if 0
static char sccsid[] = "@(#) fix_options.c 1.4 97/02/12 02:13:22";
#else
-static char rcsid[] = "$OpenBSD: fix_options.c,v 1.5 2003/04/05 00:49:25 tdeval Exp $";
+static char rcsid[] = "$OpenBSD: fix_options.c,v 1.6 2003/04/19 18:31:48 avsm Exp $";
#endif
#endif
@@ -48,7 +48,6 @@ struct request_info *request;
size_t lps;
struct protoent *ip;
int fd = request->fd;
- unsigned int opt;
int i;
struct sockaddr_storage ss;
int sslen;