1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

r23343: Fix error return

(This used to be commit 0014ee44b8)
This commit is contained in:
Volker Lendecke 2007-06-04 19:45:41 +00:00 committed by Gerald (Jerry) Carter
parent 227ba79af9
commit f96193a2cb

View File

@ -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);