Skip to content

Commit 2058d8e

Browse files
committed
fix identiation
1 parent e60cedf commit 2058d8e

File tree

1 file changed

+14
-15
lines changed

1 file changed

+14
-15
lines changed

ext/dba/dba.c

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -956,27 +956,26 @@ static void php_dba_open(INTERNAL_FUNCTION_PARAMETERS, int persistent)
956956
int flags = fcntl(info->fd, F_GETFL);
957957
fcntl(info->fd, F_SETFL, flags & ~O_APPEND);
958958
#elif defined(PHP_WIN32)
959-
} else if (modenr == DBA_CREAT && need_creation && !restarted) {
960-
zend_bool close_both;
959+
} else if (modenr == DBA_CREAT && need_creation && !restarted) {
960+
zend_bool close_both;
961961

962-
close_both = (info->fp != info->lock.fp);
963-
php_stream_close(info->lock.fp);
964-
if (close_both) {
965-
php_stream_close(info->fp);
966-
}
967-
info->fp = NULL;
968-
info->lock.fp = NULL;
969-
info->fd = -1;
962+
close_both = (info->fp != info->lock.fp);
963+
php_stream_close(info->lock.fp);
964+
if (close_both) {
965+
php_stream_close(info->fp);
966+
}
967+
info->fp = NULL;
968+
info->lock.fp = NULL;
969+
info->fd = -1;
970970

971-
pefree(info->lock.name, persistent);
971+
pefree(info->lock.name, persistent);
972972

973-
lock_file_mode = "r+b";
973+
lock_file_mode = "r+b";
974974

975-
restarted = 1;
976-
goto restart;
975+
restarted = 1;
976+
goto restart;
977977
#endif
978978
}
979-
980979
}
981980
}
982981

0 commit comments

Comments
 (0)