pop3: Reworked authentication type constants
... to use left-shifted values, like those defined in curl.h, rather than 16-bit hexadecimal values.
This commit is contained in:
Родитель
ecf93ac986
Коммит
d956d9db47
|
@ -85,9 +85,9 @@ extern const struct Curl_handler Curl_handler_pop3;
|
|||
extern const struct Curl_handler Curl_handler_pop3s;
|
||||
|
||||
/* Authentication type flags */
|
||||
#define POP3_TYPE_CLEARTEXT 0x0001
|
||||
#define POP3_TYPE_APOP 0x0002
|
||||
#define POP3_TYPE_SASL 0x0004
|
||||
#define POP3_TYPE_CLEARTEXT (1 << 0)
|
||||
#define POP3_TYPE_APOP (1 << 1)
|
||||
#define POP3_TYPE_SASL (1 << 2)
|
||||
|
||||
/* Authentication type values */
|
||||
#define POP3_TYPE_NONE 0
|
||||
|
|
Загрузка…
Ссылка в новой задаче