summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ftp-proxy
diff options
context:
space:
mode:
authordoug <doug@openbsd.org>2014-09-13 16:06:36 +0000
committerdoug <doug@openbsd.org>2014-09-13 16:06:36 +0000
commitabcbcc4d80a0ed0907ba123021478336e6ec4c4a (patch)
treed04a4f6443a0b5220bf8f6ccbe79d0224cf82c21 /usr.sbin/ftp-proxy
parentdocument default EXTRACT_CASES support for *.tar.lzma (reminded by juanfra@) (diff)
downloadwireguard-openbsd-abcbcc4d80a0ed0907ba123021478336e6ec4c4a.tar.xz
wireguard-openbsd-abcbcc4d80a0ed0907ba123021478336e6ec4c4a.zip
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.c4
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);
}