diff options
author | 2020-08-03 10:59:53 +0000 | |
---|---|---|
committer | 2020-08-03 10:59:53 +0000 | |
commit | b19a8c1e98678b2d10bd7f824e816d7ddaa4e1f2 (patch) | |
tree | 6e4a94f66d59d52939562cb93c5df873490f960a | |
parent | remove unused assignment (diff) | |
download | wireguard-openbsd-b19a8c1e98678b2d10bd7f824e816d7ddaa4e1f2.tar.xz wireguard-openbsd-b19a8c1e98678b2d10bd7f824e816d7ddaa4e1f2.zip |
remove another tautology
from Ross L Richardson <openbsd AT rlr DOT id DOT au>, Thanks
ok claudio@
-rw-r--r-- | usr.sbin/httpd/server_http.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.sbin/httpd/server_http.c b/usr.sbin/httpd/server_http.c index 3bb5f64e221..fc8ec226db9 100644 --- a/usr.sbin/httpd/server_http.c +++ b/usr.sbin/httpd/server_http.c @@ -1,4 +1,4 @@ -/* $OpenBSD: server_http.c,v 1.139 2020/05/22 07:18:17 bentley Exp $ */ +/* $OpenBSD: server_http.c,v 1.140 2020/08/03 10:59:53 benno Exp $ */ /* * Copyright (c) 2006 - 2018 Reyk Floeter <reyk@openbsd.org> @@ -1273,8 +1273,7 @@ server_response(struct httpd *httpd, struct client *clt) hostname, FNM_CASEFOLD); } if (ret == 0 && - (portval == -1 || - (portval != -1 && portval == srv_conf->port))) { + (portval == -1 || portval == srv_conf->port)) { /* Replace host configuration */ clt->clt_srv_conf = srv_conf; srv_conf = NULL; |