diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2020-02-12 21:42:20 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2020-02-12 21:42:20 +0300 |
commit | 282dce564a6cd33469f6b82ce94582bc4d9121be (patch) | |
tree | 3e8dceb6e0489bdddbd15cac22365a5ed6ca68a4 /tests/curl/driver.cxx | |
parent | 5fb6e5041b65150ec1c78d5e39caeb23e2f9a531 (diff) |
Rename fdnull() to fdopen_null()
Diffstat (limited to 'tests/curl/driver.cxx')
-rw-r--r-- | tests/curl/driver.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/curl/driver.cxx b/tests/curl/driver.cxx index f2af782..18ed1e6 100644 --- a/tests/curl/driver.cxx +++ b/tests/curl/driver.cxx @@ -55,7 +55,7 @@ tftp () // GET non-existent. // { - curl c (p, nullfd, fdnull (), 2, curl::get, u + "/foo"); + curl c (p, nullfd, fdopen_null (), 2, curl::get, u + "/foo"); assert (!c.wait ()); } @@ -88,7 +88,7 @@ tftp () // GET to /dev/null. // { - curl c (p, nullfd, fdnull (), 2, curl::get, u + "/foo"); + curl c (p, nullfd, fdopen_null (), 2, curl::get, u + "/foo"); assert (c.wait ()); } } @@ -103,14 +103,14 @@ http () // GET non-existent. // { - curl c (p, nullfd, fdnull (), 2, curl::get, u + "/bogus"); + curl c (p, nullfd, fdopen_null (), 2, curl::get, u + "/bogus"); assert (!c.wait ()); } // GET to /dev/null. // { - curl c (p, nullfd, fdnull (), 2, curl::get, u); + curl c (p, nullfd, fdopen_null (), 2, curl::get, u); assert (c.wait ()); } |