summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngelos D. Keromytis <angelos@cvs.openbsd.org>2000-06-01 05:46:13 +0000
committerAngelos D. Keromytis <angelos@cvs.openbsd.org>2000-06-01 05:46:13 +0000
commit351d6ed48796a3a3da6644842a0082fe9f449a36 (patch)
treee011cc97e2c40322248eee425edb5851f9a08175
parente909419bc6a8d80c4f9825ad2921748cf8a65a8c (diff)
Should learn how to count...
-rw-r--r--sys/netinet/ip_ipsp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/ip_ipsp.c b/sys/netinet/ip_ipsp.c
index 7671c849eb3..30b1380b90a 100644
--- a/sys/netinet/ip_ipsp.c
+++ b/sys/netinet/ip_ipsp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_ipsp.c,v 1.88 2000/06/01 05:33:08 angelos Exp $ */
+/* $OpenBSD: ip_ipsp.c,v 1.89 2000/06/01 05:46:12 angelos Exp $ */
/*
* The authors of this code are John Ioannidis (ji@tla.org),
@@ -1113,7 +1113,7 @@ tdb_delete(struct tdb *tdbp, int delchain, int expflags)
int s;
/* If it's still referenced, go on */
- if (tdbp->tdb_ref-- > 0)
+ if (--tdbp->tdb_ref > 0)
{
tdbp->tdb_flags |= TDBF_INVALID;
return;