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/smtp.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/smtp.c')
-rw-r--r-- | lib/smtp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/smtp.c b/lib/smtp.c index e1560f583..d6f9b17c5 100644 --- a/lib/smtp.c +++ b/lib/smtp.c @@ -894,7 +894,7 @@ static CURLcode smtp_state_ehlo_resp(struct Curl_easy *data, for(;;) { size_t llen; size_t wordlen; - unsigned int mechbit; + unsigned short mechbit; while(len && (*line == ' ' || *line == '\t' || |