From f96193a2cb18c86f625532f8824dde01ed193ce7 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Mon, 4 Jun 2007 19:45:41 +0000 Subject: r23343: Fix error return (This used to be commit 0014ee44b87a4a109c897ffec5f9c38eea442571) --- source3/lib/messages.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'source3/lib') diff --git a/source3/lib/messages.c b/source3/lib/messages.c index 256d4d097c..b796e1472c 100644 --- a/source3/lib/messages.c +++ b/source3/lib/messages.c @@ -199,8 +199,10 @@ struct messaging_context *messaging_init(TALLOC_CTX *mem_ctx, status = messaging_tdb_init(ctx, ctx, &ctx->local); if (!NT_STATUS_IS_OK(status)) { - DEBUG(0, ("messaging_tdb_init failed: %s\n", nt_errstr(status))); + DEBUG(0, ("messaging_tdb_init failed: %s\n", + nt_errstr(status))); TALLOC_FREE(ctx); + return NULL; } messaging_register(ctx, NULL, MSG_PING, ping_message); -- cgit