Make up the right dependencies now that ldb depends on libevents
[metze/samba/wip.git] / source / lib / ldb / tools / oLschema2ldif.c
index 3bf4957884d147ff546800539da94789266c792c..3c31f37c553895f20fb9eac8a58751079d146125 100644 (file)
@@ -18,8 +18,7 @@
    Lesser General Public License for more details.
 
    You should have received a copy of the GNU Lesser General Public
-   License along with this library; if not, write to the Free Software
-   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+   License along with this library; if not, see <http://www.gnu.org/licenses/>.
 */
 
 /*
@@ -561,10 +560,8 @@ static void usage(void)
        struct ldb_cmdline *options;
        FILE *in = stdin;
        FILE *out = stdout;
-       ldb_global_init();
-
        ctx = talloc_new(NULL);
-       ldb_ctx = ldb_init(ctx);
+       ldb_ctx = ldb_init(ctx, NULL);
 
        setenv("LDB_URL", "NONE", 1);
        options = ldb_cmdline_process(ldb_ctx, argc, argv, usage);