diff options
author | Daniel Stenberg <daniel@haxx.se> | 2021-05-11 11:11:40 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-05-12 00:16:52 +0200 |
commit | a9bc819c89cae273bacc375ebcd71debbfaa79fe (patch) | |
tree | 078c6dd10c716c5d0b48497f1a162e7d861c7ddc /lib/imap.c | |
parent | fa050ffd27524074660d0614d14e7dfd022c893b (diff) | |
download | curl-a9bc819c89cae273bacc375ebcd71debbfaa79fe.tar.gz |
sasl: use 'unsigned short' to store mechanism
... saves a few bytes of struct size in memory and it only uses
10 bits anyway.
Closes #7045
Diffstat (limited to 'lib/imap.c')
-rw-r--r-- | lib/imap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/imap.c b/lib/imap.c index e887357e1..f2bb8aa1f 100644 --- a/lib/imap.c +++ b/lib/imap.c @@ -919,7 +919,7 @@ static CURLcode imap_state_capability_resp(struct Curl_easy *data, /* Do we have a SASL based authentication mechanism? */ else if(wordlen > 5 && !memcmp(line, "AUTH=", 5)) { size_t llen; - unsigned int mechbit; + unsigned short mechbit; line += 5; wordlen -= 5; |