aboutsummaryrefslogtreecommitdiff
path: root/src/testcurl/test_process_arguments.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testcurl/test_process_arguments.c')
-rw-r--r--src/testcurl/test_process_arguments.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/testcurl/test_process_arguments.c b/src/testcurl/test_process_arguments.c
index 3094a97f..dc50396d 100644
--- a/src/testcurl/test_process_arguments.c
+++ b/src/testcurl/test_process_arguments.c
@@ -155,7 +155,7 @@ testExternalGet ()
155 { 155 {
156 const union MHD_DaemonInfo *dinfo; 156 const union MHD_DaemonInfo *dinfo;
157 dinfo = MHD_get_daemon_info (d, MHD_DAEMON_INFO_BIND_PORT); 157 dinfo = MHD_get_daemon_info (d, MHD_DAEMON_INFO_BIND_PORT);
158 if ((NULL == dinfo) ||(0 == dinfo->port) ) 158 if ((NULL == dinfo) || (0 == dinfo->port) )
159 { 159 {
160 MHD_stop_daemon (d); return 32; 160 MHD_stop_daemon (d); return 32;
161 } 161 }
@@ -229,9 +229,10 @@ testExternalGet ()
229 if (EINTR != errno) 229 if (EINTR != errno)
230 abort (); 230 abort ();
231#else 231#else
232 if ((WSAEINVAL != WSAGetLastError ()) ||(0 != rs.fd_count) ||(0 != 232 if ((WSAEINVAL != WSAGetLastError ()) || (0 != rs.fd_count) || (0 !=
233 ws.fd_count) 233 ws.
234 ||(0 != es.fd_count) ) 234 fd_count)
235 || (0 != es.fd_count) )
235 abort (); 236 abort ();
236 Sleep (1000); 237 Sleep (1000);
237#endif 238#endif
@@ -279,7 +280,7 @@ main (int argc, char *const *argv)
279 unsigned int errorCount = 0; 280 unsigned int errorCount = 0;
280 (void) argc; /* Unused. Silent compiler warning. */ 281 (void) argc; /* Unused. Silent compiler warning. */
281 282
282 if ((NULL == argv)||(0 == argv[0])) 283 if ((NULL == argv) || (0 == argv[0]))
283 return 99; 284 return 99;
284 oneone = has_in_name (argv[0], "11"); 285 oneone = has_in_name (argv[0], "11");
285 if (0 != curl_global_init (CURL_GLOBAL_WIN32)) 286 if (0 != curl_global_init (CURL_GLOBAL_WIN32))