projects
/
ossec-hids.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
novi upstream verzije 2.8.3
[ossec-hids.git]
/
src
/
os_regex
/
os_regex.c
diff --git
a/src/os_regex/os_regex.c
b/src/os_regex/os_regex.c
index
2e89fab
..
713b2c6
100755
(executable)
--- a/
src/os_regex/os_regex.c
+++ b/
src/os_regex/os_regex.c
@@
-5,7
+5,7
@@
*
* This program is a free software; you can redistribute it
* and/or modify it under the terms of the GNU General Public
*
* This program is a free software; you can redistribute it
* and/or modify it under the terms of the GNU General Public
- * License (version 3) as published by the FSF - Free Software
+ * License (version 2) as published by the FSF - Free Software
* Foundation
*/
* Foundation
*/
@@
-24,7
+24,7
@@
* only going to be used once.
* Returns 1 on success or 0 on failure.
*/
* 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;
{
int r_code = 0;
OSRegex reg;
@@
-39,7
+39,7
@@
int OS_Regex(char *pattern, char *str)
OSRegex_FreePattern(®);
}
OSRegex_FreePattern(®);
}
-
+
return(r_code);
}
return(r_code);
}