diff options
author | Jeff Trawick <trawick@apache.org> | 2000-11-06 16:29:54 +0000 |
---|---|---|
committer | Jeff Trawick <trawick@apache.org> | 2000-11-06 16:29:54 +0000 |
commit | 6c1e24643c66cb7e916cfb27353cc9895b0a796b (patch) | |
tree | 6642679a2c070bd1ef6bba1cccca8e06e3cbec5e /file_io/unix/pipe.c | |
parent | 973276d792006f8b5c3659f926d4edc8be07b1a5 (diff) | |
download | apr-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.c | 2 |
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) |