/*
- Copyright (C) 2010 Proxmox Server Solutions GmbH
+ Copyright (C) 2010 - 2020 Proxmox Server Solutions GmbH
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
result = quorum_context_get(handle, (gconstpointer *)&private);
if (result != CS_OK || !private) {
- cfs_critical("quorum_context_get error: %d (%p)", result, private);
+ cfs_critical("quorum_context_get error: %d (%p)", result, (void *) private);
return;
}
return quorum_fd;
err_finalize:
+ cfs_set_quorate(0, FALSE);
quorum_finalize(handle);
err_reset_handle:
private->handle = 0;
cfs_critical("quorum_dispatch failed: %d", result);
+ cfs_set_quorate(0, FALSE);
quorum_finalize(handle);
private->handle = 0;
return FALSE;