[curl/curl] a9bc81: sasl: use 'unsigned short' to store mechanism

Daniel Stenberg <[email protected]> Tue, 11 May 2021 15:17:37 -0700
Newsgroups gmane.comp.web.curl.cvs
Message-ID <curl/curl/push/refs/heads/master/[email protected]>
  Branch: refs/heads/master
  Home:   https://github.com/curl/curl
  Commit: a9bc819c89cae273bacc375ebcd71debbfaa79fe
      https://github.com/curl/curl/commit/a9bc819c89cae273bacc375ebcd71debbfaa79fe
  Author: Daniel Stenberg <[email protected]>
  Date:   2021-05-12 (Wed, 12 May 2021)

  Changed paths:
    M lib/curl_sasl.c
    M lib/curl_sasl.h
    M lib/imap.c
    M lib/pop3.c
    M lib/smtp.c

  Log Message:
  -----------
  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


_______________________________________________
curl-commits mailing list
[email protected]
https://cool.haxx.se/cgi-bin/mailman/listinfo/curl-commits