aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest/lib537.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libtest/lib537.c')
-rw-r--r--tests/libtest/lib537.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/libtest/lib537.c b/tests/libtest/lib537.c
index 791448a86..b15cb8ac1 100644
--- a/tests/libtest/lib537.c
+++ b/tests/libtest/lib537.c
@@ -204,7 +204,7 @@ static int rlimit(int keep_open)
/*
* test 537 is all about testing libcurl functionality
* when the system has nearly exhausted the number of
- * available file descriptors. Test 537 will try to run
+ * available file descriptors. Test 537 will try to run
* with a very small number of file descriptors available.
* This implies that any file descriptor which is open
* when the test runs will have a number in the high range
@@ -323,8 +323,8 @@ static int rlimit(int keep_open)
/* create a bunch of file descriptors */
- for (num_open.rlim_cur = 1;
- num_open.rlim_cur < num_open.rlim_max;
+ for (num_open.rlim_cur = 1;
+ num_open.rlim_cur < num_open.rlim_max;
num_open.rlim_cur++) {
fd[num_open.rlim_cur] = dup(fd[0]);
@@ -471,7 +471,7 @@ int test(char *URL)
return TEST_ERR_MAJOR_BAD;
}
- /* run the test with the bunch of open file descriptors
+ /* run the test with the bunch of open file descriptors
and close them all once the test is over */
if (curl_global_init(CURL_GLOBAL_ALL) != CURLE_OK) {