diff options
author | Yang Tse <yangsita@gmail.com> | 2010-02-14 19:40:18 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2010-02-14 19:40:18 +0000 |
commit | a07bc79117971b96ebf3188c0a34a73ee0a3609b (patch) | |
tree | 4c5f985bd2bd407871dfc9d4bc8c05cbaa9851e2 /tests/libtest/lib537.c | |
parent | 2268657272e591948467135dcd713bd80e3212b3 (diff) | |
download | curl-a07bc79117971b96ebf3188c0a34a73ee0a3609b.tar.gz |
removed trailing whitespace
Diffstat (limited to 'tests/libtest/lib537.c')
-rw-r--r-- | tests/libtest/lib537.c | 8 |
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) { |