com php-src: fix identiation: ext/dba/dba.c
| From: | Anatol Belski | Date: | Sun, 28 May 2017 16:33:12 +0000 |
| Subject: | com php-src: fix identiation: ext/dba/dba.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-97915@lists.php.net to get a copy of this message | ||
Commit: 2058d8ed22364f9efabd8f867774baba7e2e5aa9
Author: Anatol Belski <ab@php.net> Sun, 28 May 2017 01:17:03 +0200
Parents: e60cedfbc30c295dac16be1fe357f5ce29ff8605
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=2058d8ed22364f9efabd8f867774baba7e2e5aa9
Log:
fix identiation
Changed paths:
M ext/dba/dba.c
Diff:
diff --git a/ext/dba/dba.c b/ext/dba/dba.c
index 8f7747c..072f84b 100644
--- a/ext/dba/dba.c
+++ b/ext/dba/dba.c
@@ -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
}
-
}
}