diff options
author | Doug Hogan <doug@cvs.openbsd.org> | 2014-09-13 16:06:38 +0000 |
---|---|---|
committer | Doug Hogan <doug@cvs.openbsd.org> | 2014-09-13 16:06:38 +0000 |
commit | ea858dabe0f76712b2416cf2288222c8cbba5028 (patch) | |
tree | 329401494d1f8b23d1f11679cf89acb4ae8c0e77 /usr.sbin/ftp-proxy | |
parent | beb9041963b2a9e31afc7ab688f1da1a386cbf9c (diff) |
Replace all queue *_END macro calls except CIRCLEQ_END with NULL.
CIRCLEQ_* is deprecated and not called in the tree. The other queue types
have *_END macros which were added for symmetry with CIRCLEQ_END. They are
defined as NULL. There's no reason to keep the other *_END macro calls.
ok millert@
Diffstat (limited to 'usr.sbin/ftp-proxy')
-rw-r--r-- | usr.sbin/ftp-proxy/ftp-proxy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ftp-proxy/ftp-proxy.c b/usr.sbin/ftp-proxy/ftp-proxy.c index 288e6b56673..0803e414019 100644 --- a/usr.sbin/ftp-proxy/ftp-proxy.c +++ b/usr.sbin/ftp-proxy/ftp-proxy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ftp-proxy.c,v 1.28 2013/03/15 13:31:27 benno Exp $ */ +/* $OpenBSD: ftp-proxy.c,v 1.29 2014/09/13 16:06:37 doug Exp $ */ /* * Copyright (c) 2004, 2005 Camiel Dobbelaar, <cd@sentia.nl> @@ -322,7 +322,7 @@ exit_daemon(void) { struct session *s, *next; - for (s = LIST_FIRST(&sessions); s != LIST_END(&sessions); s = next) { + for (s = LIST_FIRST(&sessions); s != NULL; s = next) { next = LIST_NEXT(s, entry); end_session(s); } |