1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

add some brackets

(This used to be commit bf67721ef5)
This commit is contained in:
Andrew Tridgell 2000-06-13 15:46:15 +00:00
parent ec33db96d5
commit 33179a95d8

View File

@ -158,7 +158,7 @@ void brl_init(int read_only)
{
if (tdb) return;
tdb = tdb_open(lock_path("brlock.tdb"), 0, TDB_CLEAR_IF_FIRST,
read_only?O_RDONLY:O_RDWR|O_CREAT, 0644);
read_only?O_RDONLY:(O_RDWR|O_CREAT), 0644);
if (!tdb) {
DEBUG(0,("Failed to open byte range locking database\n"));
return;