ldb:ldbedit tool - fix bug #7914
authorMatthias Dieter Wallnöfer <mdw@samba.org>
Fri, 14 Jan 2011 11:48:54 +0000 (12:48 +0100)
committerMatthias Dieter Wallnöfer <mdw@samba.org>
Wed, 9 Feb 2011 17:59:19 +0000 (18:59 +0100)
commit79d3532f7f905afe1a48acabf75247cef6f791e3
tree3bf8b5bf87378a8563bb89670934d0a1158e1ef8
parentb5ccf181f55192ac199af5e377254057a876a216
ldb:ldbedit tool - fix bug #7914

"modify_record" returns "-1" when failing, otherwise the number of
modifies performed as an "unsigned int" converted to "int".
When we get "-1" we immediately need to stop (the error message has
already been generated by the function itself).
source4/lib/ldb/tools/ldbedit.c