commit 05a6e239a353f9761bdfb37b7d87cfed1d7836fe
parent 9ea3d5ce7adfcd949b78b0816c2e38c26243cfca
Author: LRN <lrn1986@gmail.com>
Date: Tue, 23 Apr 2013 11:11:07 +0000
Avoid conflicts with wingdi's OPAQUE
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/examples/digest_auth_example.c b/src/examples/digest_auth_example.c
@@ -30,7 +30,7 @@
#define DENIED "<html><head><title>libmicrohttpd demo</title></head><body>Access denied</body></html>"
-#define OPAQUE "11733b200778ce33060f31c9af70a870ba96ddd4"
+#define OPAQUE_STR "11733b200778ce33060f31c9af70a870ba96ddd4"
static int
ahc_echo (void *cls,
@@ -53,7 +53,7 @@ ahc_echo (void *cls,
DENIED,
MHD_RESPMEM_PERSISTENT);
ret = MHD_queue_auth_fail_response(connection, realm,
- OPAQUE,
+ OPAQUE_STR,
response,
MHD_NO);
MHD_destroy_response(response);
@@ -73,7 +73,7 @@ ahc_echo (void *cls,
if (NULL == response)
return MHD_NO;
ret = MHD_queue_auth_fail_response(connection, realm,
- OPAQUE,
+ OPAQUE_STR,
response,
(ret == MHD_INVALID_NONCE) ? MHD_YES : MHD_NO);
MHD_destroy_response(response);