libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit 2d37df8af0103f2c22180259a278c1cab64cc36f
parent 3f285017e0681b7942d46e2f16ac178fe5a85e4a
Author: Matthias Wachs <wachs@in.tum.de>
Date:   Tue, 24 Jan 2012 08:40:32 +0000

did not compile with CFLAGS = -Wall -Werror


Diffstat:
Msrc/testcurl/https/tls_multi_thread_mode_test.c | 4++--
Msrc/testcurl/https/tls_test_common.h | 2+-
Msrc/testcurl/https/tls_thread_mode_test.c | 4++--
3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/testcurl/https/tls_multi_thread_mode_test.c b/src/testcurl/https/tls_multi_thread_mode_test.c @@ -67,7 +67,7 @@ https_transfer_thread_adapter (void *args) * TODO : make client_count a parameter - numver of curl client threads to spawn */ static int -test_single_client (void *cls, char *cipher_suite, +test_single_client (void *cls, const char *cipher_suite, int curl_proto_version) { void *client_thread_ret; @@ -89,7 +89,7 @@ test_single_client (void *cls, char *cipher_suite, * TODO : make client_count a parameter - numver of curl client threads to spawn */ static int -test_parallel_clients (void *cls, char *cipher_suite, +test_parallel_clients (void *cls, const char *cipher_suite, int curl_proto_version) { int i; diff --git a/src/testcurl/https/tls_test_common.h b/src/testcurl/https/tls_test_common.h @@ -51,7 +51,7 @@ struct https_test_data { void *cls; - char *cipher_suite; + const char *cipher_suite; int proto_version; }; diff --git a/src/testcurl/https/tls_thread_mode_test.c b/src/testcurl/https/tls_thread_mode_test.c @@ -68,7 +68,7 @@ https_transfer_thread_adapter (void *args) * TODO : make client_count a parameter - numver of curl client threads to spawn */ static int -test_single_client (void *cls, char *cipher_suite, +test_single_client (void *cls, const char *cipher_suite, int curl_proto_version) { void *client_thread_ret; @@ -89,7 +89,7 @@ test_single_client (void *cls, char *cipher_suite, * TODO : make client_count a parameter - numver of curl client threads to spawn */ static int -test_parallel_clients (void * cls, char *cipher_suite, +test_parallel_clients (void * cls, const char *cipher_suite, int curl_proto_version) { int i;