r23164: Minor cosmetic checkin
authorVolker Lendecke <vlendec@samba.org>
Sun, 27 May 2007 10:25:23 +0000 (10:25 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:22:50 +0000 (12:22 -0500)
source/locking/locking.c

index f83467ad8320043939fe0d44ebceb1d3cc449d71..cc6957b4e33c86f6f0788d98147e9d928ef26f11 100644 (file)
@@ -382,8 +382,8 @@ BOOL locking_init(int read_only)
        lock_db = db_open(NULL, lock_path("locking.tdb"),
                          lp_open_files_db_hash_size(),
                          TDB_DEFAULT
-                         |(read_only?0x0:TDB_CLEAR_IF_FIRST)
-                         |TDB_VOLATILE,
+                         |TDB_VOLATILE
+                         |(read_only?0x0:TDB_CLEAR_IF_FIRST),
                          read_only?O_RDONLY:O_RDWR|O_CREAT, 0644);
 
        if (!lock_db) {