aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest/first.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2007-07-14 22:38:18 +0000
committerDaniel Stenberg <daniel@haxx.se>2007-07-14 22:38:18 +0000
commit5ae21ebde90b299e7617a91b0a59e639414df182 (patch)
tree74e2e86dc1f44e8a15bff0ae9905103cf8e99d45 /tests/libtest/first.c
parentc7e0d8c30bf2e7746708875f3a535bab72011ac6 (diff)
add support for arg3 as the third argument...
Diffstat (limited to 'tests/libtest/first.c')
-rw-r--r--tests/libtest/first.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/libtest/first.c b/tests/libtest/first.c
index 745ed9fe5..9e585eace 100644
--- a/tests/libtest/first.c
+++ b/tests/libtest/first.c
@@ -35,6 +35,7 @@ int select_test (int num_fds, fd_set *rd, fd_set *wr, fd_set *exc,
}
char *arg2=NULL;
+char *arg3=NULL;
int main(int argc, char **argv)
{
@@ -67,6 +68,9 @@ int main(int argc, char **argv)
if(argc>2)
arg2=argv[2];
+ if(argc>3)
+ arg3=argv[3];
+
URL = argv[1]; /* provide this to the rest */
fprintf(stderr, "URL: %s\n", URL);