1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-30 20:23:49 +03:00

r23164: Minor cosmetic checkin

This commit is contained in:
Volker Lendecke
2007-05-27 10:25:23 +00:00
committed by Gerald (Jerry) Carter
parent afe90224bf
commit 8de1ac9fad

View 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) {