summaryrefslogtreecommitdiff
path: root/test/testdup.c
diff options
context:
space:
mode:
authoraaron <aaron@13f79535-47bb-0310-9956-ffa450edef68>2002-01-24 04:28:09 +0000
committeraaron <aaron@13f79535-47bb-0310-9956-ffa450edef68>2002-01-24 04:28:09 +0000
commit9ac28eb1771ca7586ae24d719ede36c45a310ffe (patch)
treec4a6edd8a6e2a92a6957e4491ca1c6eb4130a05f /test/testdup.c
parent55654f633513eb60dd47686f132477a9d7d8c215 (diff)
downloadlibapr-9ac28eb1771ca7586ae24d719ede36c45a310ffe.tar.gz
Change the new_file parameter of apr_file_dup2() so that it is perfectly
clear that it takes an old apr_file_t* object and doesn't create a new one. This makes the function signatures of apr_file_dup() and apr_file_dup2() distinct. Reviewed by: William Rowe git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62819 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/testdup.c')
-rw-r--r--test/testdup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testdup.c b/test/testdup.c
index 4649b30a0..3d1daad04 100644
--- a/test/testdup.c
+++ b/test/testdup.c
@@ -111,7 +111,7 @@ int main (int argc, char ** argv)
APR_READ | APR_WRITE | APR_CREATE,
APR_OS_DEFAULT, p))
- STD_TEST_NEQ(" Dup2 test", apr_file_dup2(&file3, file2, p))
+ STD_TEST_NEQ(" Dup2 test", apr_file_dup2(file3, file2, p))
txtlen = sizeof(TEST2);
STD_TEST_NEQ(" Write to dup'd file #3", apr_file_write(file3, TEST2, &txtlen))