From: Steve Holme Date: Sat, 13 Apr 2013 15:14:01 +0000 (+0100) Subject: pop3: Reworked authentication type constants X-Git-Tag: curl-7_31_0~174 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d956d9db47f520535438919abc21f4ad043b26c1;p=thirdparty%2Fcurl.git pop3: Reworked authentication type constants ... to use left-shifted values, like those defined in curl.h, rather than 16-bit hexadecimal values. --- diff --git a/lib/pop3.h b/lib/pop3.h index d594f6c195..0186e04355 100644 --- a/lib/pop3.h +++ b/lib/pop3.h @@ -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