summaryrefslogtreecommitdiff
path: root/file_io/unix/pipe.c
diff options
context:
space:
mode:
authorJeff Trawick <trawick@apache.org>2000-11-06 16:29:54 +0000
committerJeff Trawick <trawick@apache.org>2000-11-06 16:29:54 +0000
commit6c1e24643c66cb7e916cfb27353cc9895b0a796b (patch)
tree6642679a2c070bd1ef6bba1cccca8e06e3cbec5e /file_io/unix/pipe.c
parent973276d792006f8b5c3659f926d4edc8be07b1a5 (diff)
downloadapr-6c1e24643c66cb7e916cfb27353cc9895b0a796b.tar.gz
apr_get_pipe_timeout() needs to specify a return code
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60637 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'file_io/unix/pipe.c')
-rw-r--r--file_io/unix/pipe.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/file_io/unix/pipe.c b/file_io/unix/pipe.c
index a6697f398..f5bf550fd 100644
--- a/file_io/unix/pipe.c
+++ b/file_io/unix/pipe.c
@@ -149,7 +149,9 @@ apr_status_t apr_get_pipe_timeout(apr_file_t *thepipe, apr_interval_time_t *time
{
if (thepipe->pipe == 1) {
*timeout = thepipe->timeout;
+ return APR_SUCCESS;
}
+ return APR_EINVAL;
}
apr_status_t apr_create_pipe(apr_file_t **in, apr_file_t **out, apr_pool_t *cont)