summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2008-03-04 18:55:45 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2008-03-04 18:55:45 +0000
commit69fc466b610e8786e71a731586d5e0f2c6d22219 (patch)
tree132f29eca54b795584b12f9519bbae1ba19e3133 /usr.bin
parentc6e691c91af55e9f6fc925415da7f6a6b91600ac (diff)
fix ifdef DEBUG code; ok krw@ deraadt@
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/vi/common/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/vi/common/main.c b/usr.bin/vi/common/main.c
index 9e37e008272..0840428d89f 100644
--- a/usr.bin/vi/common/main.c
+++ b/usr.bin/vi/common/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.13 2007/05/14 12:32:29 pyr Exp $ */
+/* $OpenBSD: main.c,v 1.14 2008/03/04 18:55:44 otto Exp $ */
/*-
* Copyright (c) 1992, 1993, 1994
@@ -464,7 +464,7 @@ v_end(gp)
#if defined(DEBUG) || defined(PURIFY) || defined(LIBRARY)
{ FREF *frp;
/* Free FREF's. */
- while ((frp = CIRCLEQ_FIRST(&gp)) != CIRCLEQ_END(&gp->frefq)) {
+ while ((frp = CIRCLEQ_FIRST(&gp->frefq)) != CIRCLEQ_END(&gp->frefq)) {
CIRCLEQ_REMOVE(&gp->frefq, frp, q);
if (frp->name != NULL)
free(frp->name);