summaryrefslogtreecommitdiff
path: root/security/ossec-hids-server/files/extra-patch-src__os_csyslogd__csyslogd.c
diff options
context:
space:
mode:
Diffstat (limited to 'security/ossec-hids-server/files/extra-patch-src__os_csyslogd__csyslogd.c')
-rw-r--r--security/ossec-hids-server/files/extra-patch-src__os_csyslogd__csyslogd.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/security/ossec-hids-server/files/extra-patch-src__os_csyslogd__csyslogd.c b/security/ossec-hids-server/files/extra-patch-src__os_csyslogd__csyslogd.c
deleted file mode 100644
index 73ee689e1595..000000000000
--- a/security/ossec-hids-server/files/extra-patch-src__os_csyslogd__csyslogd.c
+++ /dev/null
@@ -1,19 +0,0 @@
---- ./src/os_csyslogd/csyslogd.c.orig 2013-01-15 16:31:13.000000000 -0500
-+++ ./src/os_csyslogd/csyslogd.c 2013-01-15 16:32:23.000000000 -0500
-@@ -23,7 +23,16 @@
- #include "csyslogd.h"
- #include "os_net/os_net.h"
-
-+#ifndef HAVE_STRNLEN
-+size_t strnlen(char *s, size_t maxlen)
-+{
-+ size_t i;
-
-+ for (i= 0; i < maxlen && *s != '\0'; i++, s++)
-+ ;
-+ return i;
-+}
-+#endif
-
- /* OS_SyslogD: Monitor the alerts and sends them via syslog.
- * Only return in case of error.