svn commit: samba r16087 - in branches/SAMBA_4_0/source/lib/ldb:
ldb_ildap ldb_ldap ldb_sqlite3 ldb_tdb
abartlet at samba.org
abartlet at samba.org
Thu Jun 8 01:02:14 GMT 2006
Author: abartlet
Date: 2006-06-08 01:02:14 +0000 (Thu, 08 Jun 2006)
New Revision: 16087
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=16087
Log:
Fix silly cut-and-paste typo that cost me much of my afternoon...
This only affects my new partitions module, which I will post soon,
but should be fixed anyway.
Andrew Bartlett
Modified:
branches/SAMBA_4_0/source/lib/ldb/ldb_ildap/ldb_ildap.c
branches/SAMBA_4_0/source/lib/ldb/ldb_ldap/ldb_ldap.c
branches/SAMBA_4_0/source/lib/ldb/ldb_sqlite3/ldb_sqlite3.c
branches/SAMBA_4_0/source/lib/ldb/ldb_tdb/ldb_tdb.c
Changeset:
Modified: branches/SAMBA_4_0/source/lib/ldb/ldb_ildap/ldb_ildap.c
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/ldb_ildap/ldb_ildap.c 2006-06-08 01:00:46 UTC (rev 16086)
+++ branches/SAMBA_4_0/source/lib/ldb/ldb_ildap/ldb_ildap.c 2006-06-08 01:02:14 UTC (rev 16087)
@@ -833,7 +833,7 @@
return -1;
}
(*module)->ldb = ldb;
- (*module)->prev = ldb->modules->next = NULL;
+ (*module)->prev = (*module)->next = NULL;
(*module)->private_data = ildb;
(*module)->ops = &ildb_ops;
@@ -869,9 +869,6 @@
return 0;
failed:
- if (ldb->modules) {
- ldb->modules->private_data = NULL;
- }
talloc_free(ildb);
return -1;
}
Modified: branches/SAMBA_4_0/source/lib/ldb/ldb_ldap/ldb_ldap.c
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/ldb_ldap/ldb_ldap.c 2006-06-08 01:00:46 UTC (rev 16086)
+++ branches/SAMBA_4_0/source/lib/ldb/ldb_ldap/ldb_ldap.c 2006-06-08 01:02:14 UTC (rev 16087)
@@ -811,7 +811,7 @@
return -1;
}
(*module)->ldb = ldb;
- (*module)->prev = ldb->modules->next = NULL;
+ (*module)->prev = (*module)->next = NULL;
(*module)->private_data = lldb;
(*module)->ops = &lldb_ops;
Modified: branches/SAMBA_4_0/source/lib/ldb/ldb_sqlite3/ldb_sqlite3.c
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/ldb_sqlite3/ldb_sqlite3.c 2006-06-08 01:00:46 UTC (rev 16086)
+++ branches/SAMBA_4_0/source/lib/ldb/ldb_sqlite3/ldb_sqlite3.c 2006-06-08 01:02:14 UTC (rev 16087)
@@ -2106,7 +2106,7 @@
goto failed;
}
(*module)->ldb = ldb;
- (*module)->prev = ldb->modules->next = NULL;
+ (*module)->prev = (*module)->next = NULL;
(*module)->private_data = lsqlite3;
(*module)->ops = &lsqlite3_ops;
Modified: branches/SAMBA_4_0/source/lib/ldb/ldb_tdb/ldb_tdb.c
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/ldb_tdb/ldb_tdb.c 2006-06-08 01:00:46 UTC (rev 16086)
+++ branches/SAMBA_4_0/source/lib/ldb/ldb_tdb/ldb_tdb.c 2006-06-08 01:02:14 UTC (rev 16087)
@@ -1028,7 +1028,7 @@
return -1;
}
(*module)->ldb = ldb;
- (*module)->prev = ldb->modules->next = NULL;
+ (*module)->prev = (*module)->next = NULL;
(*module)->private_data = ltdb;
(*module)->ops = <db_ops;
More information about the samba-cvs
mailing list