aboutsummaryrefslogtreecommitdiff
path: root/libbutl/curl.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2020-02-12 21:42:20 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2020-02-12 21:42:20 +0300
commit282dce564a6cd33469f6b82ce94582bc4d9121be (patch)
tree3e8dceb6e0489bdddbd15cac22365a5ed6ca68a4 /libbutl/curl.cxx
parent5fb6e5041b65150ec1c78d5e39caeb23e2f9a531 (diff)
Rename fdnull() to fdopen_null()
Diffstat (limited to 'libbutl/curl.cxx')
-rw-r--r--libbutl/curl.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/libbutl/curl.cxx b/libbutl/curl.cxx
index 75ddfdb..ac3d0cb 100644
--- a/libbutl/curl.cxx
+++ b/libbutl/curl.cxx
@@ -53,7 +53,7 @@ namespace butl
case ftp_get:
case http_get:
{
- d.pipe.in = fdnull (); // /dev/null
+ d.pipe.in = fdopen_null (); // /dev/null
return pipe (d.pipe);
}
}
@@ -93,7 +93,7 @@ namespace butl
}
else
{
- d.pipe.in = fdnull (); // /dev/null
+ d.pipe.in = fdopen_null (); // /dev/null
r = pipe (d.pipe);
}
@@ -121,7 +121,7 @@ namespace butl
case ftp_put:
case http_post: // May or may not produce output.
{
- d.pipe.out = fdnull ();
+ d.pipe.out = fdopen_null ();
return pipe (d.pipe); // /dev/null
}
}
@@ -153,7 +153,7 @@ namespace butl
{
d.options.push_back ("-o");
d.options.push_back (f.string ().c_str ());
- d.pipe.out = fdnull (); // /dev/null
+ d.pipe.out = fdopen_null (); // /dev/null
r = pipe (d.pipe);
}