mirror of
https://github.com/mirror/wget.git
synced 2025-01-27 21:00:31 +08:00
* src/hsts.c: Remove unused macro CHECK_EXPLICIT_PORT
This commit is contained in:
parent
a5094731cd
commit
485fcfcc20
@ -80,7 +80,6 @@ enum hsts_kh_match {
|
||||
|
||||
#define DEFAULT_HTTP_PORT 80
|
||||
#define DEFAULT_SSL_PORT 443
|
||||
#define CHECK_EXPLICIT_PORT(p1, p2) (p1 == 0 || p1 == p2)
|
||||
#define MAKE_EXPLICIT_PORT(s, p) (s == SCHEME_HTTPS ? (p == DEFAULT_SSL_PORT ? 0 : p) \
|
||||
: (p == DEFAULT_HTTP_PORT ? 0 : p))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user