Loading tests/libtest/lib1509.c +1 −1 Original line number Diff line number Diff line Loading @@ -28,7 +28,7 @@ size_t WriteOutput(void *ptr, size_t size, size_t nmemb, void *stream); size_t WriteHeader(void *ptr, size_t size, size_t nmemb, void *stream); unsigned long realHeaderSize = 0; static unsigned long realHeaderSize = 0; int test(char *URL) { Loading tests/libtest/lib1531.c +2 −2 Original line number Diff line number Diff line Loading @@ -27,8 +27,8 @@ #define TEST_HANG_TIMEOUT 60 * 1000 char const testData[] = ".abc\0xyz"; off_t const testDataSize = sizeof(testData) - 1; static char const testData[] = ".abc\0xyz"; static off_t const testDataSize = sizeof(testData) - 1; int test(char *URL) { Loading tests/libtest/lib1900.c +8 −8 Original line number Diff line number Diff line Loading @@ -29,14 +29,14 @@ #define MAX_URLS 200 #define MAX_BLACKLIST 20 int urltime[MAX_URLS]; char *urlstring[MAX_URLS]; CURL *handles[MAX_URLS]; char *site_blacklist[MAX_BLACKLIST]; char *server_blacklist[MAX_BLACKLIST]; int num_handles; int blacklist_num_servers; int blacklist_num_sites; static int urltime[MAX_URLS]; static char *urlstring[MAX_URLS]; static CURL *handles[MAX_URLS]; static char *site_blacklist[MAX_BLACKLIST]; static char *server_blacklist[MAX_BLACKLIST]; static int num_handles; static int blacklist_num_servers; static int blacklist_num_sites; static size_t write_callback(void *contents, size_t size, size_t nmemb, void *userp) Loading tests/libtest/lib509.c +5 −5 Original line number Diff line number Diff line Loading @@ -36,11 +36,11 @@ #include "memdebug.h" */ int seen_malloc = 0; int seen_free = 0; int seen_realloc = 0; int seen_strdup = 0; int seen_calloc = 0; static int seen_malloc = 0; static int seen_free = 0; static int seen_realloc = 0; static int seen_strdup = 0; static int seen_calloc = 0; void *custom_malloc(size_t size); void custom_free(void *ptr); Loading tests/libtest/lib540.c +1 −1 Original line number Diff line number Diff line Loading @@ -46,7 +46,7 @@ #define NUM_HANDLES 2 CURL *eh[NUM_HANDLES]; static CURL *eh[NUM_HANDLES]; static int init(int num, CURLM *cm, const char *url, const char *userpwd, struct curl_slist *headers) Loading Loading
tests/libtest/lib1509.c +1 −1 Original line number Diff line number Diff line Loading @@ -28,7 +28,7 @@ size_t WriteOutput(void *ptr, size_t size, size_t nmemb, void *stream); size_t WriteHeader(void *ptr, size_t size, size_t nmemb, void *stream); unsigned long realHeaderSize = 0; static unsigned long realHeaderSize = 0; int test(char *URL) { Loading
tests/libtest/lib1531.c +2 −2 Original line number Diff line number Diff line Loading @@ -27,8 +27,8 @@ #define TEST_HANG_TIMEOUT 60 * 1000 char const testData[] = ".abc\0xyz"; off_t const testDataSize = sizeof(testData) - 1; static char const testData[] = ".abc\0xyz"; static off_t const testDataSize = sizeof(testData) - 1; int test(char *URL) { Loading
tests/libtest/lib1900.c +8 −8 Original line number Diff line number Diff line Loading @@ -29,14 +29,14 @@ #define MAX_URLS 200 #define MAX_BLACKLIST 20 int urltime[MAX_URLS]; char *urlstring[MAX_URLS]; CURL *handles[MAX_URLS]; char *site_blacklist[MAX_BLACKLIST]; char *server_blacklist[MAX_BLACKLIST]; int num_handles; int blacklist_num_servers; int blacklist_num_sites; static int urltime[MAX_URLS]; static char *urlstring[MAX_URLS]; static CURL *handles[MAX_URLS]; static char *site_blacklist[MAX_BLACKLIST]; static char *server_blacklist[MAX_BLACKLIST]; static int num_handles; static int blacklist_num_servers; static int blacklist_num_sites; static size_t write_callback(void *contents, size_t size, size_t nmemb, void *userp) Loading
tests/libtest/lib509.c +5 −5 Original line number Diff line number Diff line Loading @@ -36,11 +36,11 @@ #include "memdebug.h" */ int seen_malloc = 0; int seen_free = 0; int seen_realloc = 0; int seen_strdup = 0; int seen_calloc = 0; static int seen_malloc = 0; static int seen_free = 0; static int seen_realloc = 0; static int seen_strdup = 0; static int seen_calloc = 0; void *custom_malloc(size_t size); void custom_free(void *ptr); Loading
tests/libtest/lib540.c +1 −1 Original line number Diff line number Diff line Loading @@ -46,7 +46,7 @@ #define NUM_HANDLES 2 CURL *eh[NUM_HANDLES]; static CURL *eh[NUM_HANDLES]; static int init(int num, CURLM *cm, const char *url, const char *userpwd, struct curl_slist *headers) Loading