1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00

ctdb-daemon: Fix a return value

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
This commit is contained in:
Martin Schwenke 2017-08-11 16:08:51 +10:00 committed by Amitay Isaacs
parent 776e9f56f1
commit 16e6b56b41

View File

@ -100,7 +100,7 @@ static bool eventd_context_init(TALLOC_CTX *mem_ctx,
socket = talloc_strdup(ectx, ctdb_get_socketname(ctdb));
if (socket == NULL) {
talloc_free(ectx);
return NULL;
return false;
}
ectx->socket = talloc_asprintf(ectx, "%s/eventd.sock",