diff options
author | Andrew Kroeger <andrew@sprocks.gotdns.com> | 2008-01-18 01:48:48 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-01-18 03:41:59 +0100 |
commit | 158a2eed334512c28a7101b3af2c364b4ac1b3fd (patch) | |
tree | b87db6377580708b840bb4b585d161ea1bf4d93d /prog_guide.txt | |
parent | 73626c266c3ea1b477185a428b2c1be64feff598 (diff) | |
download | samba-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 'prog_guide.txt')
0 files changed, 0 insertions, 0 deletions