mirror of
https://git.proxmox.com/git/mirror_corosync
synced 2025-07-26 16:37:28 +00:00
* exec/totemconfig.c: eliminate 8 const-related warnings
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1932 fd59a12c-fef9-0310-b244-a6a79926bd2f
This commit is contained in:
parent
39001fd1f6
commit
88a407f40a
@ -332,7 +332,7 @@ int totem_config_validate (
|
||||
{
|
||||
static char local_error_reason[512];
|
||||
char parse_error[512];
|
||||
char *error_reason = local_error_reason;
|
||||
const char *error_reason = local_error_reason;
|
||||
int i;
|
||||
unsigned int interface_max = INTERFACE_MAX;
|
||||
|
||||
@ -669,7 +669,7 @@ int totem_config_keyread (
|
||||
|
||||
/* In desperation we read the default filename */
|
||||
if (!got_key) {
|
||||
char *filename = getenv("COROSYNC_TOTEM_AUTHKEY_FILE");
|
||||
const char *filename = getenv("COROSYNC_TOTEM_AUTHKEY_FILE");
|
||||
if (!filename)
|
||||
filename = SYSCONFDIR "/ais/authkey";
|
||||
res = read_keyfile(filename, totem_config, error_string);
|
||||
|
Loading…
Reference in New Issue
Block a user