X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=src%2Fos_regex%2Fos_regex.c;h=713b2c699748278e99c427dcc06d87006be801cb;hb=789cbc8e52da68eba3517b920ef22e000cf3c9fd;hp=c4292710fb8b2a770b3ff40b96afe5b8c2aaf735;hpb=301048b51990573e58a30dc4a5bb4ec285cad554;p=ossec-hids.git diff --git a/src/os_regex/os_regex.c b/src/os_regex/os_regex.c index c429271..713b2c6 100755 --- a/src/os_regex/os_regex.c +++ b/src/os_regex/os_regex.c @@ -24,7 +24,7 @@ * only going to be used once. * Returns 1 on success or 0 on failure. */ -int OS_Regex(char *pattern, char *str) +int OS_Regex(const char *pattern, const char *str) { int r_code = 0; OSRegex reg; @@ -39,7 +39,7 @@ int OS_Regex(char *pattern, char *str) OSRegex_FreePattern(®); } - + return(r_code); }