Make error handling in ldb more consistant.
commit1b15f374a89b99f3c43d9c2ce06dde9c67383e66
authorAndrew Bartlett <abartlet@samba.org>
Tue, 11 Mar 2008 03:20:42 +0000 (11 14:20 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 11 Mar 2008 03:20:42 +0000 (11 14:20 +1100)
treede3c9ecbb60bcaf0bad00e306964d9c8d69a5530
parent0641a43cd6fd081cac0275f5bde2ad70fa6a71bb
Make error handling in ldb more consistant.

This change ensures we give an immidiate error if the DN won't parse.

Also clean up strcmp use to be more standard.

Andrew Bartlett
source/lib/ldb/ldb.i