summaryrefslogtreecommitdiff
path: root/file_io
diff options
context:
space:
mode:
authorIvan Zhakov <ivan@apache.org>2019-05-26 10:30:19 +0000
committerIvan Zhakov <ivan@apache.org>2019-05-26 10:30:19 +0000
commitf6b51c6fa13193eed4b73fe0d9d2a258f4c3a473 (patch)
tree7313329b25458c89bc205ed1f944bc39b013e2e2 /file_io
parentafba3d663de09f656f65f3727026a48116868d61 (diff)
downloadapr-f6b51c6fa13193eed4b73fe0d9d2a258f4c3a473.tar.gz
Follow-up to r1860045: Fix condition.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1860050 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'file_io')
-rw-r--r--file_io/win32/filestat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/file_io/win32/filestat.c b/file_io/win32/filestat.c
index bd100f782..45dd7604d 100644
--- a/file_io/win32/filestat.c
+++ b/file_io/win32/filestat.c
@@ -830,7 +830,7 @@ APR_DECLARE(apr_status_t) apr_file_attrs_set(const char *fname,
}
/* Don't do anything if we are not going to change attributes. */
- if (new_flags == new_flags) {
+ if (new_flags == old_flags) {
return APR_SUCCESS;
}