]> granicus.if.org Git - php/commitdiff
fix identiation
authorAnatol Belski <ab@php.net>
Sat, 27 May 2017 23:17:03 +0000 (01:17 +0200)
committerAnatol Belski <ab@php.net>
Sun, 28 May 2017 16:33:12 +0000 (18:33 +0200)
ext/dba/dba.c

index 8f7747c5dea554aae405484c2bdec10cbb97cd68..072f84b784a6fec7b4c581b730652d910ee399d7 100644 (file)
@@ -956,27 +956,26 @@ restart:
                                int flags = fcntl(info->fd, F_GETFL);
                                fcntl(info->fd, F_SETFL, flags & ~O_APPEND);
 #elif defined(PHP_WIN32)
-       } else if (modenr == DBA_CREAT && need_creation && !restarted) {
-               zend_bool close_both;
+                       } else if (modenr == DBA_CREAT && need_creation && !restarted) {
+                               zend_bool close_both;
 
-               close_both = (info->fp != info->lock.fp);
-               php_stream_close(info->lock.fp);
-               if (close_both) {
-                       php_stream_close(info->fp);
-               }
-               info->fp = NULL;
-               info->lock.fp = NULL;
-               info->fd = -1;
+                               close_both = (info->fp != info->lock.fp);
+                               php_stream_close(info->lock.fp);
+                               if (close_both) {
+                                       php_stream_close(info->fp);
+                               }
+                               info->fp = NULL;
+                               info->lock.fp = NULL;
+                               info->fd = -1;
 
-               pefree(info->lock.name, persistent);
+                               pefree(info->lock.name, persistent);
 
-               lock_file_mode = "r+b";
+                               lock_file_mode = "r+b";
 
-               restarted = 1;
-               goto restart;
+                               restarted = 1;
+                               goto restart;
 #endif
                        }
-
                }
        }