From d956d9db47f520535438919abc21f4ad043b26c1 Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Sat, 13 Apr 2013 16:14:01 +0100 Subject: [PATCH] pop3: Reworked authentication type constants ... to use left-shifted values, like those defined in curl.h, rather than 16-bit hexadecimal values. --- lib/pop3.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/pop3.h b/lib/pop3.h index d594f6c19..0186e0435 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