You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by iv...@apache.org on 2019/05/26 10:30:19 UTC

svn commit: r1860050 - /apr/apr/trunk/file_io/win32/filestat.c

Author: ivan
Date: Sun May 26 10:30:19 2019
New Revision: 1860050

URL: http://svn.apache.org/viewvc?rev=1860050&view=rev
Log:
Follow-up to r1860045: Fix condition.

Modified:
    apr/apr/trunk/file_io/win32/filestat.c

Modified: apr/apr/trunk/file_io/win32/filestat.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/file_io/win32/filestat.c?rev=1860050&r1=1860049&r2=1860050&view=diff
==============================================================================
--- apr/apr/trunk/file_io/win32/filestat.c (original)
+++ apr/apr/trunk/file_io/win32/filestat.c Sun May 26 10:30:19 2019
@@ -830,7 +830,7 @@ APR_DECLARE(apr_status_t) apr_file_attrs
     }
 
     /* 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;
     }