mirror of
https://github.com/curl/curl.git
synced 2026-08-25 02:53:32 +03:00
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
This commit is contained in:
parent
fa050ffd27
commit
a9bc819c89
5 changed files with 13 additions and 12 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue