summaryrefslogtreecommitdiff
path: root/lib/pop3.h
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2013-04-13 16:14:01 +0100
committerSteve Holme <steve_holme@hotmail.com>2013-04-13 16:20:48 +0100
commitd956d9db47f520535438919abc21f4ad043b26c1 (patch)
tree1f4d88ee63e8e8b9bdff74f1070cd0cfb1317dff /lib/pop3.h
parentecf93ac9865a5f2f9345583337ba1ba509a1f3d1 (diff)
downloadcurl-d956d9db47f520535438919abc21f4ad043b26c1.tar.gz
pop3: Reworked authentication type constants
... to use left-shifted values, like those defined in curl.h, rather than 16-bit hexadecimal values.
Diffstat (limited to 'lib/pop3.h')
-rw-r--r--lib/pop3.h6
1 files 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