samba-cvs.cvs
[Top] [All Lists]

svn commit: samba r13580 - in branches/SAMBA_4_0/source/lib/ldb/tools: .

Subject: svn commit: samba r13580 - in branches/SAMBA_4_0/source/lib/ldb/tools: .
From:
Date: Mon, 20 Feb 2006 22:21:22 +0000 GMT
Author: idra
Date: 2006-02-20 22:21:21 +0000 (Mon, 20 Feb 2006)
New Revision: 13580

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

Log:

fix broken client side sort


Modified:
   branches/SAMBA_4_0/source/lib/ldb/tools/ldbsearch.c


Changeset:
Modified: branches/SAMBA_4_0/source/lib/ldb/tools/ldbsearch.c
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/tools/ldbsearch.c 2006-02-20 21:58:33 UTC 
(rev 13579)
+++ branches/SAMBA_4_0/source/lib/ldb/tools/ldbsearch.c 2006-02-20 22:21:21 UTC 
(rev 13580)
@@ -97,7 +97,7 @@
                printf("# returned %d records\n", result->count);
 
                if (options->sorted) {
-                       ldb_qsort(result->msgs, ret, sizeof(struct ldb_message 
*),
+                       ldb_qsort(result->msgs, result->count, sizeof(struct 
ldb_message *),
                                  ldb, (ldb_qsort_cmp_fn_t)do_compare_msg);
                }
 

<Prev in Thread] Current Thread [Next in Thread>
  • svn commit: samba r13580 - in branches/SAMBA_4_0/source/lib/ldb/tools: ., idra <=