commit b5b3e2fee203e5ea1015b42c6515e626660dd550
parent b6adf207b3923aa1bb74a8646107a63ccd879913
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date: Tue, 10 Jan 2017 19:57:34 +0300
test_large_put: renamed functions for readability
Diffstat:
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/src/testcurl/test_large_put.c b/src/testcurl/test_large_put.c
@@ -141,7 +141,7 @@ ahc_echo (void *cls,
static int
-testInternalPut ()
+testPutInternalThread ()
{
struct MHD_Daemon *d;
CURL *c;
@@ -199,7 +199,7 @@ testInternalPut ()
}
static int
-testMultithreadedPut ()
+testPutThreadPerConn ()
{
struct MHD_Daemon *d;
CURL *c;
@@ -260,7 +260,7 @@ testMultithreadedPut ()
}
static int
-testMultithreadedPoolPut ()
+testPutThreadPool ()
{
struct MHD_Daemon *d;
CURL *c;
@@ -322,7 +322,7 @@ testMultithreadedPoolPut ()
}
static int
-testExternalPut ()
+testPutExternal ()
{
struct MHD_Daemon *d;
CURL *c;
@@ -479,10 +479,10 @@ main (int argc, char *const *argv)
if (NULL == put_buffer)
return 99;
memset (put_buffer, 1, PUT_SIZE);
- errorCount += testInternalPut ();
- errorCount += testMultithreadedPut ();
- errorCount += testMultithreadedPoolPut ();
- errorCount += testExternalPut ();
+ errorCount += testPutInternalThread ();
+ errorCount += testPutThreadPerConn ();
+ errorCount += testPutThreadPool ();
+ errorCount += testPutExternal ();
free (put_buffer);
if (errorCount != 0)
fprintf (stderr, "Error (code: %u)\n", errorCount);