summaryrefslogtreecommitdiff
path: root/lib/libwrap/rfc931.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2001-11-17 19:57:37 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2001-11-17 19:57:37 +0000
commit445a3618a41a56115118fac22bac3bc71f45f621 (patch)
tree794fb6ad1c456986df732576ecb996bba5a327a3 /lib/libwrap/rfc931.c
parentb995bc72b5a61a2a287383dd4141da8515a086b4 (diff)
volatile sig_atomic_t
Diffstat (limited to 'lib/libwrap/rfc931.c')
-rw-r--r--lib/libwrap/rfc931.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libwrap/rfc931.c b/lib/libwrap/rfc931.c
index dc952f2bfdd..0789e2ca99f 100644
--- a/lib/libwrap/rfc931.c
+++ b/lib/libwrap/rfc931.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rfc931.c,v 1.4 2001/02/16 02:15:59 beck Exp $ */
+/* $OpenBSD: rfc931.c,v 1.5 2001/11/17 19:57:36 deraadt Exp $ */
/* rfc1413 does an attempt at an ident query to a client. Originally written
* by Wietse Venema, rewritten by Bob Beck <beck@openbsd.org> to avoid
@@ -6,7 +6,7 @@
*/
#ifndef lint
-static char rcsid[] = "$OpenBSD: rfc931.c,v 1.4 2001/02/16 02:15:59 beck Exp $";
+static char rcsid[] = "$OpenBSD: rfc931.c,v 1.5 2001/11/17 19:57:36 deraadt Exp $";
#endif
#include <stdio.h>
@@ -27,7 +27,7 @@ static char rcsid[] = "$OpenBSD: rfc931.c,v 1.4 2001/02/16 02:15:59 beck Exp $";
#define IDENT_PORT 113
-static sig_atomic_t ident_timeout;
+static volatile sig_atomic_t ident_timeout;
int rfc931_timeout = RFC931_TIMEOUT; /* global, legacy from tcpwrapper stuff */