Author: idra
Date: 2005-09-14 22:39:24 +0000 (Wed, 14 Sep 2005)
New Revision: 10231

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=10231

Log:

seem I flipped these, fix.


Modified:
   branches/SAMBA_4_0/source/lib/ldb/common/ldb_dn.c


Changeset:
Modified: branches/SAMBA_4_0/source/lib/ldb/common/ldb_dn.c
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/common/ldb_dn.c   2005-09-14 22:20:05 UTC 
(rev 10230)
+++ branches/SAMBA_4_0/source/lib/ldb/common/ldb_dn.c   2005-09-14 22:39:24 UTC 
(rev 10231)
@@ -518,12 +518,12 @@
        if (dn0 == NULL || dn1 == NULL) return dn1 - dn0;
 
        edn0 = ldb_dn_explode_casefold(ldb, dn0);
-       if (edn0 == NULL) return 0;
+       if (edn0 == NULL) return 1;
 
        edn1 = ldb_dn_explode_casefold(ldb, dn1);
        if (edn1 == NULL) {
                talloc_free(edn0);
-               return 0;
+               return -1;
        }
 
        ret = ldb_dn_compare(ldb, edn0, edn1);

Reply via email to