1
0
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:
Michael Adam 2009-07-29 14:26:26 +02:00
parent 8b0993e085
commit 6abcdaad28

View File

@ -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;
}