diff options
author | 2015-07-18 14:36:24 +0000 | |
---|---|---|
committer | 2015-07-18 14:36:24 +0000 | |
commit | 78fc662f3ae67da671fad3c0e9199a0b0fd02798 (patch) | |
tree | 8f9dbfe2dd674a31b19787a53e84ea56f0bd0df3 | |
parent | add -D to create the full destination path before installing the source into it (diff) | |
download | wireguard-openbsd-78fc662f3ae67da671fad3c0e9199a0b0fd02798.tar.xz wireguard-openbsd-78fc662f3ae67da671fad3c0e9199a0b0fd02798.zip |
Fix check against NULL which was reverted by accident in r1.56.
ok reyk@
-rw-r--r-- | usr.sbin/httpd/server_file.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/httpd/server_file.c b/usr.sbin/httpd/server_file.c index ba0554b128e..9fd9ef20b05 100644 --- a/usr.sbin/httpd/server_file.c +++ b/usr.sbin/httpd/server_file.c @@ -1,4 +1,4 @@ -/* $OpenBSD: server_file.c,v 1.57 2015/07/18 06:00:43 reyk Exp $ */ +/* $OpenBSD: server_file.c,v 1.58 2015/07/18 14:36:24 kili Exp $ */ /* * Copyright (c) 2006 - 2015 Reyk Floeter <reyk@openbsd.org> @@ -639,7 +639,7 @@ server_file_modified_since(struct http_descriptor *desc, struct stat *st) key.kv_key = "If-Modified-Since"; if ((since = kv_find(&desc->http_headers, &key)) != NULL && - since->kv_value == NULL) { + since->kv_value != NULL) { memset(&tm, 0, sizeof(struct tm)); /* |