mirror of
https://github.com/samba-team/samba.git
synced 2025-01-27 14:04:05 +03:00
s3:dbwrap: untangle assignment and check in dbwrap_change_int32_atomic()
Michael
This commit is contained in:
parent
8b0993e085
commit
6abcdaad28
@ -156,8 +156,8 @@ NTSTATUS dbwrap_change_int32_atomic(struct db_context *db, const char *keystr,
|
||||
TDB_DATA data;
|
||||
NTSTATUS ret;
|
||||
|
||||
if (!(rec = db->fetch_locked(db, NULL,
|
||||
string_term_tdb_data(keystr)))) {
|
||||
rec = db->fetch_locked(db, NULL, string_term_tdb_data(keystr));
|
||||
if (!rec) {
|
||||
return NT_STATUS_UNSUCCESSFUL;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user