summaryrefslogtreecommitdiffstats
path: root/usr.sbin/httpd/src
diff options
context:
space:
mode:
authorhenning <henning@openbsd.org>2003-05-12 17:20:47 +0000
committerhenning <henning@openbsd.org>2003-05-12 17:20:47 +0000
commit9631a248bcf7fc52e4414780eba58b62530f24e5 (patch)
treebe0a53bc4f3cf2d8082370fd467be497338a8544 /usr.sbin/httpd/src
parentThese files are not use by us, so they're removed to make the tree (diff)
downloadwireguard-openbsd-9631a248bcf7fc52e4414780eba58b62530f24e5.tar.xz
wireguard-openbsd-9631a248bcf7fc52e4414780eba58b62530f24e5.zip
explicit != NULL for pointer
Diffstat (limited to 'usr.sbin/httpd/src')
-rw-r--r--usr.sbin/httpd/src/main/fdcache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/httpd/src/main/fdcache.c b/usr.sbin/httpd/src/main/fdcache.c
index 776ed76b06b..da93e9eca71 100644
--- a/usr.sbin/httpd/src/main/fdcache.c
+++ b/usr.sbin/httpd/src/main/fdcache.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fdcache.c,v 1.5 2002/08/02 11:52:01 henning Exp $ */
+/* $OpenBSD: fdcache.c,v 1.6 2003/05/12 17:20:47 henning Exp $ */
/*
* Copyright (c) 2002 Henning Brauer
@@ -83,7 +83,7 @@ fdcache_closeall(void)
{
struct fdcache *fdcp = NULL, *tmp = NULL;
- for (fdcp = fdc; fdcp; ) {
+ for (fdcp = fdc; fdcp != NULL; ) {
tmp = fdcp;
fdcp = tmp->next;
if (tmp->fd > 0)