X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?p=ossec-hids.git;a=blobdiff_plain;f=src%2Fos_execd%2Fconfig.c;fp=src%2Fos_execd%2Fconfig.c;h=1705887dd78a69e64b7ab99ee82544a02bd01409;hp=17c116621bb464cc7bc0b3d608b9bcc8263bff11;hb=789cbc8e52da68eba3517b920ef22e000cf3c9fd;hpb=ef70704f0b31b59bb719b884d6a99cb9e3e2044a diff --git a/src/os_execd/config.c b/src/os_execd/config.c index 17c1166..1705887 100755 --- a/src/os_execd/config.c +++ b/src/os_execd/config.c @@ -26,8 +26,8 @@ int ExecdConfig(char * cfgfile) #else int is_disabled = 0; #endif - char *(xmlf[]) = {"ossec_config", "active-response", "disabled", NULL}; - char *(blocks[]) = {"ossec_config", "active-response", "repeated_offenders", NULL}; + const char *(xmlf[]) = {"ossec_config", "active-response", "disabled", NULL}; + const char *(blocks[]) = {"ossec_config", "active-response", "repeated_offenders", NULL}; char *disable_entry; char *repeated_t; char **repeated_a;