summaryrefslogtreecommitdiff
path: root/test/testpipe.c
diff options
context:
space:
mode:
authorJeff Trawick <trawick@apache.org>2000-04-15 02:56:50 +0000
committerJeff Trawick <trawick@apache.org>2000-04-15 02:56:50 +0000
commit26961749a8d901af227a5e89dad68bca9f44394c (patch)
tree23fb02cd26e11c18d77cabbb4c9a38c7ea92a3ec /test/testpipe.c
parent3054f9b09972cc2d8dfcfe803b553260a0739db0 (diff)
downloadapr-26961749a8d901af227a5e89dad68bca9f44394c.tar.gz
ap_set_pipe_timeout() now takes microseconds instead of seconds;
ap_interval_time_t was created to represent intervals; Unfortunately, some compile fixes for the recently added buffering code are mixed in with these changes. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59862 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/testpipe.c')
-rw-r--r--test/testpipe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testpipe.c b/test/testpipe.c
index fe85ad746..1c96ac92a 100644
--- a/test/testpipe.c
+++ b/test/testpipe.c
@@ -95,7 +95,7 @@ int main()
}
fprintf(stdout, "\tSetting pipe timeout.......");
- if (ap_set_pipe_timeout(readp, 1) != APR_SUCCESS) {
+ if (ap_set_pipe_timeout(readp, 1 * AP_USEC_PER_SEC) != APR_SUCCESS) {
perror("Couldn't set a timeout");
exit(-1);
} else {