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:
Daniel Stenberg 2021-05-11 11:11:40 +02:00
parent fa050ffd27
commit a9bc819c89
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
5 changed files with 13 additions and 12 deletions

View file

@ -709,7 +709,7 @@ static CURLcode pop3_state_capa_resp(struct Curl_easy *data, int pop3code,
for(;;) {
size_t llen;
size_t wordlen;
unsigned int mechbit;
unsigned short mechbit;
while(len &&
(*line == ' ' || *line == '\t' ||