summaryrefslogtreecommitdiff
path: root/source4/lib/registry/patchfile.c
diff options
context:
space:
mode:
authorAndrew Kroeger <andrew@sprocks.gotdns.com>2008-01-18 01:48:48 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-01-18 03:41:59 +0100
commit158a2eed334512c28a7101b3af2c364b4ac1b3fd (patch)
treeb87db6377580708b840bb4b585d161ea1bf4d93d /source4/lib/registry/patchfile.c
parent73626c266c3ea1b477185a428b2c1be64feff598 (diff)
downloadsamba-158a2eed334512c28a7101b3af2c364b4ac1b3fd.tar.gz
samba-158a2eed334512c28a7101b3af2c364b4ac1b3fd.tar.bz2
samba-158a2eed334512c28a7101b3af2c364b4ac1b3fd.zip
registry: Properly check return values from ldb_*() functions.
There were a few cases left that attempted to detect errors from ldb_*() function calls using "(ret < 0)". As all LDB_* error codes are greater than zero, there was no chance any errors would be detected. Changed all such tests to use "(ret != LDB_SUCCESS)". (This used to be commit 0ed6f1b1628da5b922f02a5f9a6c60071b6277f2)
Diffstat (limited to 'source4/lib/registry/patchfile.c')
0 files changed, 0 insertions, 0 deletions