summaryrefslogtreecommitdiff
path: root/sbin/isakmpd
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2001-03-14 10:42:20 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2001-03-14 10:42:20 +0000
commit28e9fc9a941b08892f7de8b73a224636002100fe (patch)
treed06af10164ca04fec5b61d01522b1bb9b45211c3 /sbin/isakmpd
parent7ad4dfcfa99eb62b29c962ac9ebe4987dc0b3e21 (diff)
might as well throw a few crumbs at the anal compiler
Diffstat (limited to 'sbin/isakmpd')
-rw-r--r--sbin/isakmpd/connection.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/isakmpd/connection.c b/sbin/isakmpd/connection.c
index 0c6a7a06620..6e09a330681 100644
--- a/sbin/isakmpd/connection.c
+++ b/sbin/isakmpd/connection.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: connection.c,v 1.14 2001/03/14 10:33:16 deraadt Exp $ */
+/* $OpenBSD: connection.c,v 1.15 2001/03/14 10:42:19 deraadt Exp $ */
/* $EOM: connection.c,v 1.28 2000/11/23 12:21:18 niklas Exp $ */
/*
@@ -461,10 +461,10 @@ connection_reinit (void)
/* Remove all present connections. */
- while (conn = TAILQ_FIRST (&connections))
+ while ((conn = TAILQ_FIRST (&connections)))
connection_teardown (conn->name);
- while (pconn = TAILQ_FIRST (&connections_passive))
+ while ((pconn = TAILQ_FIRST (&connections_passive)))
connection_passive_teardown (pconn->name);
/* Setup new connections, as the (new) config directs. */