svn commit: samba r20101 - in
branches/SAMBA_4_0/source/lib/ldb/ldb_tdb: .
idra at samba.org
idra at samba.org
Sun Dec 10 22:24:28 GMT 2006
Author: idra
Date: 2006-12-10 22:24:28 +0000 (Sun, 10 Dec 2006)
New Revision: 20101
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=20101
Log:
Also rename a variable now that the unused parameter is gone
Modified:
branches/SAMBA_4_0/source/lib/ldb/ldb_tdb/ldb_index.c
Changeset:
Modified: branches/SAMBA_4_0/source/lib/ldb/ldb_tdb/ldb_index.c
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/ldb_tdb/ldb_index.c 2006-12-10 22:21:55 UTC (rev 20100)
+++ branches/SAMBA_4_0/source/lib/ldb/ldb_tdb/ldb_index.c 2006-12-10 22:24:28 UTC (rev 20101)
@@ -765,16 +765,16 @@
struct ldb_message *msg,
const char *dn)
{
- struct ldb_message_element *el2;
+ struct ldb_message_element *el;
/* add another entry */
- el2 = talloc_realloc(msg, msg->elements,
+ el = talloc_realloc(msg, msg->elements,
struct ldb_message_element, msg->num_elements+1);
- if (!el2) {
+ if (!el) {
return -1;
}
- msg->elements = el2;
+ msg->elements = el;
msg->elements[msg->num_elements].name = talloc_strdup(msg->elements, LTDB_IDX);
if (!msg->elements[msg->num_elements].name) {
return -1;
More information about the samba-cvs
mailing list