From a9bc819c89cae273bacc375ebcd71debbfaa79fe Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 11 May 2021 11:11:40 +0200 Subject: 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 --- lib/smtp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/smtp.c') 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' || -- cgit v1.2.1