mirror of
https://git.proxmox.com/git/mirror_corosync
synced 2025-08-03 14:28:16 +00:00
Fix crashes in quorum_initialize & votequorum_initialize
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1768 fd59a12c-fef9-0310-b244-a6a79926bd2f
This commit is contained in:
parent
b727ce320d
commit
d8ed443105
@ -95,7 +95,7 @@ cs_error_t quorum_initialize (
|
||||
goto error_destroy;
|
||||
}
|
||||
|
||||
error = cslib_service_connect (QUORUM_SERVICE, quorum_inst->ipc_ctx);
|
||||
error = cslib_service_connect (QUORUM_SERVICE, &quorum_inst->ipc_ctx);
|
||||
if (error != CS_OK) {
|
||||
goto error_put_destroy;
|
||||
}
|
||||
|
@ -95,7 +95,7 @@ cs_error_t votequorum_initialize (
|
||||
goto error_destroy;
|
||||
}
|
||||
|
||||
error = cslib_service_connect (VOTEQUORUM_SERVICE, votequorum_inst->ipc_ctx);
|
||||
error = cslib_service_connect (VOTEQUORUM_SERVICE, &votequorum_inst->ipc_ctx);
|
||||
if (error != CS_OK) {
|
||||
goto error_put_destroy;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user