summaryrefslogtreecommitdiff
path: root/file_io/win32
diff options
context:
space:
mode:
authorstoddard <stoddard@13f79535-47bb-0310-9956-ffa450edef68>1999-10-18 21:59:29 +0000
committerstoddard <stoddard@13f79535-47bb-0310-9956-ffa450edef68>1999-10-18 21:59:29 +0000
commit83413695e51dcaf83015f64bb82b14550dadf673 (patch)
tree7f0ab5b4dc9dbfb28e29c44f3b12bf30406299d9 /file_io/win32
parentd31cd140db1eb8bfd01102125b62374277e11f51 (diff)
downloadlibapr-83413695e51dcaf83015f64bb82b14550dadf673.tar.gz
Fix bug in ap_get_os_file
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59377 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'file_io/win32')
-rw-r--r--file_io/win32/open.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/file_io/win32/open.c b/file_io/win32/open.c
index 58e96669e..5364e407b 100644
--- a/file_io/win32/open.c
+++ b/file_io/win32/open.c
@@ -173,7 +173,7 @@ ap_status_t ap_get_os_file(ap_os_file_t *thefile, struct file_t *file)
if (file == NULL) {
return APR_ENOFILE;
}
- thefile = &(file->filehand);
+ *thefile = file->filehand;
return APR_SUCCESS;
}