]> git.ipfire.org Git - thirdparty/curl.git/commit
urldata: make 'negnpn' use less storage
authorDaniel Stenberg <daniel@haxx.se>
Mon, 8 Aug 2022 11:21:01 +0000 (13:21 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 8 Aug 2022 12:31:06 +0000 (14:31 +0200)
commita29d34b0b7fd9d5b31f0ac10e4f7ee5b32f3e09a
treedbb97fa5c21aad34780c7ac33bed9fa43cc52cd1
parenta55083102348655987d6396c68dfb6a657893829
urldata: make 'negnpn' use less storage

The connectdata struct field 'negnpn' never holds a value larger than
30, so an unsigned char saves 3 bytes struct space.

Closes #9279
lib/urldata.h