[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r29492 - in libmicrohttpd/src: examples testcurl
From: |
gnunet |
Subject: |
[GNUnet-SVN] r29492 - in libmicrohttpd/src: examples testcurl |
Date: |
Mon, 23 Sep 2013 15:01:42 +0200 |
Author: grothoff
Date: 2013-09-23 15:01:42 +0200 (Mon, 23 Sep 2013)
New Revision: 29492
Modified:
libmicrohttpd/src/examples/digest_auth_example.c
libmicrohttpd/src/testcurl/test_digestauth.c
libmicrohttpd/src/testcurl/test_digestauth_with_arguments.c
Log:
-rename OPAQUE to MY_OPAQUE to avoid symbol conflict on W32
Modified: libmicrohttpd/src/examples/digest_auth_example.c
===================================================================
--- libmicrohttpd/src/examples/digest_auth_example.c 2013-09-23 12:43:38 UTC
(rev 29491)
+++ libmicrohttpd/src/examples/digest_auth_example.c 2013-09-23 13:01:42 UTC
(rev 29492)
@@ -30,7 +30,7 @@
#define DENIED "<html><head><title>libmicrohttpd
demo</title></head><body>Access denied</body></html>"
-#define OPAQUE_STR "11733b200778ce33060f31c9af70a870ba96ddd4"
+#define MY_OPAQUE_STR "11733b200778ce33060f31c9af70a870ba96ddd4"
static int
ahc_echo (void *cls,
@@ -53,7 +53,7 @@
DENIED,
MHD_RESPMEM_PERSISTENT);
ret = MHD_queue_auth_fail_response(connection, realm,
- OPAQUE_STR,
+ MY_OPAQUE_STR,
response,
MHD_NO);
MHD_destroy_response(response);
@@ -73,7 +73,7 @@
if (NULL == response)
return MHD_NO;
ret = MHD_queue_auth_fail_response(connection, realm,
- OPAQUE_STR,
+ MY_OPAQUE_STR,
response,
(ret == MHD_INVALID_NONCE) ? MHD_YES :
MHD_NO);
MHD_destroy_response(response);
Modified: libmicrohttpd/src/testcurl/test_digestauth.c
===================================================================
--- libmicrohttpd/src/testcurl/test_digestauth.c 2013-09-23 12:43:38 UTC
(rev 29491)
+++ libmicrohttpd/src/testcurl/test_digestauth.c 2013-09-23 13:01:42 UTC
(rev 29492)
@@ -44,7 +44,7 @@
#define DENIED "<html><head><title>libmicrohttpd
demo</title></head><body>Access denied</body></html>"
-#define OPAQUE "11733b200778ce33060f31c9af70a870ba96ddd4"
+#define MY_OPAQUE "11733b200778ce33060f31c9af70a870ba96ddd4"
struct CBC
{
@@ -88,7 +88,7 @@
DENIED,
MHD_RESPMEM_PERSISTENT);
ret = MHD_queue_auth_fail_response(connection, realm,
- OPAQUE,
+ MY_OPAQUE,
response,
MHD_NO);
MHD_destroy_response(response);
@@ -108,7 +108,7 @@
if (NULL == response)
return MHD_NO;
ret = MHD_queue_auth_fail_response(connection, realm,
- OPAQUE,
+ MY_OPAQUE,
response,
(ret == MHD_INVALID_NONCE) ? MHD_YES :
MHD_NO);
MHD_destroy_response(response);
Modified: libmicrohttpd/src/testcurl/test_digestauth_with_arguments.c
===================================================================
--- libmicrohttpd/src/testcurl/test_digestauth_with_arguments.c 2013-09-23
12:43:38 UTC (rev 29491)
+++ libmicrohttpd/src/testcurl/test_digestauth_with_arguments.c 2013-09-23
13:01:42 UTC (rev 29492)
@@ -43,7 +43,7 @@
#define DENIED "<html><head><title>libmicrohttpd
demo</title></head><body>Access denied</body></html>"
-#define OPAQUE "11733b200778ce33060f31c9af70a870ba96ddd4"
+#define MY_OPAQUE "11733b200778ce33060f31c9af70a870ba96ddd4"
struct CBC
{
@@ -87,7 +87,7 @@
DENIED,
MHD_RESPMEM_PERSISTENT);
ret = MHD_queue_auth_fail_response(connection, realm,
- OPAQUE,
+ MY_OPAQUE,
response,
MHD_NO);
MHD_destroy_response(response);
@@ -107,7 +107,7 @@
if (NULL == response)
return MHD_NO;
ret = MHD_queue_auth_fail_response(connection, realm,
- OPAQUE,
+ MY_OPAQUE,
response,
(ret == MHD_INVALID_NONCE) ? MHD_YES :
MHD_NO);
MHD_destroy_response(response);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r29492 - in libmicrohttpd/src: examples testcurl,
gnunet <=