summaryrefslogtreecommitdiff
path: root/file_io
diff options
context:
space:
mode:
authoraaron <aaron@13f79535-47bb-0310-9956-ffa450edef68>2002-01-08 04:17:15 +0000
committeraaron <aaron@13f79535-47bb-0310-9956-ffa450edef68>2002-01-08 04:17:15 +0000
commitec76803f4feef559409ecce11879e04a29f299d3 (patch)
tree30b3b336528af8a1f2011f627708580848177427 /file_io
parentdede259c4c1d4afe60721f5c34989e0e52d7ec84 (diff)
downloadlibapr-ec76803f4feef559409ecce11879e04a29f299d3.tar.gz
Missed one.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62711 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'file_io')
-rw-r--r--file_io/unix/filedup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/file_io/unix/filedup.c b/file_io/unix/filedup.c
index 732c9355b..2d2512015 100644
--- a/file_io/unix/filedup.c
+++ b/file_io/unix/filedup.c
@@ -98,7 +98,7 @@ apr_status_t apr_file_dup(apr_file_t **new_file, apr_file_t *old_file, apr_pool_
*/
if (have_file && ((*new_file)->filedes >= 0) && ((*new_file)->filedes <= 2)) {
(*new_file)->flags = old_file->flags | APR_INHERIT;
- apr_pool_cleanup_register((*new_file)->cntxt, (void *)(*in),
+ apr_pool_cleanup_register((*new_file)->cntxt, (void *)(*new_file),
apr_unix_file_cleanup, apr_pool_cleanup_null);
}
else {