]> git.ipfire.org Git - thirdparty/curl.git/commit
urldata: remove duplicate port number storage
authorDaniel Stenberg <daniel@haxx.se>
Tue, 26 Jan 2021 10:04:33 +0000 (11:04 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 27 Jan 2021 08:19:01 +0000 (09:19 +0100)
commit764c6bd3bf2e7a1f8bc33162ab77b667770f4f73
tree01321aab74a16bd212e36675ec0e1af556008a30
parent642d78026f409cfb5b31affc271a0eb8298e8020
urldata: remove duplicate port number storage

... and use 'int' for ports. We don't use 'unsigned short' since -1 is
still often used internally to signify "unknown value" and 0 - 65535 are
all valid port numbers.

Closes #6534
lib/connect.c
lib/url.c
lib/urldata.h