summaryrefslogtreecommitdiff
path: root/sbin/isakmpd
diff options
context:
space:
mode:
authorHakan Olsson <ho@cvs.openbsd.org>2001-04-14 01:25:35 +0000
committerHakan Olsson <ho@cvs.openbsd.org>2001-04-14 01:25:35 +0000
commitbdf702b0a0c648bc79ded717f47eb2d434348514 (patch)
treea49d11fbcdbe498ac92bc863da8a883b8b7043b6 /sbin/isakmpd
parentf026bc84847fa4cc8dd2309260420e03148ffe6a (diff)
Minor cleanup.
Diffstat (limited to 'sbin/isakmpd')
-rw-r--r--sbin/isakmpd/message.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sbin/isakmpd/message.c b/sbin/isakmpd/message.c
index 259e327f02a..458e151929b 100644
--- a/sbin/isakmpd/message.c
+++ b/sbin/isakmpd/message.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: message.c,v 1.40 2001/04/12 15:48:37 ho Exp $ */
+/* $OpenBSD: message.c,v 1.41 2001/04/14 01:25:34 ho Exp $ */
/* $EOM: message.c,v 1.156 2000/10/10 12:36:39 provos Exp $ */
/*
@@ -185,7 +185,6 @@ message_free (struct message *msg)
{
int i;
struct payload *payload, *next;
- struct post_send *node;
LOG_DBG ((LOG_MESSAGE, 20, "message_free: freeing %p", msg));
if (!msg)
@@ -207,7 +206,7 @@ message_free (struct message *msg)
next = TAILQ_NEXT (payload, link);
free (payload);
}
- while ((node = TAILQ_FIRST (&msg->post_send)) != 0)
+ while (TAILQ_FIRST (&msg->post_send) != 0)
TAILQ_REMOVE (&msg->post_send, TAILQ_FIRST (&msg->post_send), link);
/* If we are on the send queue, remove us from there. */