summaryrefslogtreecommitdiff
path: root/tests/libtest/lib518.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2010-02-14 19:40:18 +0000
committerYang Tse <yangsita@gmail.com>2010-02-14 19:40:18 +0000
commita07bc79117971b96ebf3188c0a34a73ee0a3609b (patch)
tree4c5f985bd2bd407871dfc9d4bc8c05cbaa9851e2 /tests/libtest/lib518.c
parent2268657272e591948467135dcd713bd80e3212b3 (diff)
downloadcurl-a07bc79117971b96ebf3188c0a34a73ee0a3609b.tar.gz
removed trailing whitespace
Diffstat (limited to 'tests/libtest/lib518.c')
-rw-r--r--tests/libtest/lib518.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/libtest/lib518.c b/tests/libtest/lib518.c
index d8310d92d..9d1ae96ac 100644
--- a/tests/libtest/lib518.c
+++ b/tests/libtest/lib518.c
@@ -216,7 +216,7 @@ static int rlimit(int keep_open)
/*
* verify that soft limit is higher than NUM_NEEDED,
- * which is the number of file descriptors we would
+ * which is the number of file descriptors we would
* try to open plus SAFETY_MARGIN to not exhaust the
* file descriptor pool
*/
@@ -329,8 +329,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]);
@@ -468,7 +468,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) {