aboutsummaryrefslogtreecommitdiff
path: root/src/testcurl/https/test_https_get_parallel.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testcurl/https/test_https_get_parallel.c')
-rw-r--r--src/testcurl/https/test_https_get_parallel.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/testcurl/https/test_https_get_parallel.c b/src/testcurl/https/test_https_get_parallel.c
index af5345bc..cce97fca 100644
--- a/src/testcurl/https/test_https_get_parallel.c
+++ b/src/testcurl/https/test_https_get_parallel.c
@@ -140,6 +140,7 @@ main (int argc, char *const *argv)
140 unsigned int errorCount = 0; 140 unsigned int errorCount = 0;
141 const char *aes256_sha = "AES256-SHA"; 141 const char *aes256_sha = "AES256-SHA";
142 int port; 142 int port;
143 unsigned int iseed;
143 (void) argc; /* Unused. Silent compiler warning. */ 144 (void) argc; /* Unused. Silent compiler warning. */
144 145
145 if (MHD_NO != MHD_is_feature_supported (MHD_FEATURE_AUTODETECT_BIND_PORT)) 146 if (MHD_NO != MHD_is_feature_supported (MHD_FEATURE_AUTODETECT_BIND_PORT))
@@ -148,7 +149,7 @@ main (int argc, char *const *argv)
148 port = 3020; 149 port = 3020;
149 150
150 /* initialize random seed used by curl clients */ 151 /* initialize random seed used by curl clients */
151 unsigned int iseed = (unsigned int) time (NULL); 152 iseed = (unsigned int) time (NULL);
152 srand (iseed); 153 srand (iseed);
153 if (! testsuite_curl_global_init ()) 154 if (! testsuite_curl_global_init ())
154 return 99; 155 return 99;