summaryrefslogtreecommitdiff
path: root/irc/sic/files/patch-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'irc/sic/files/patch-utils.c')
-rw-r--r--irc/sic/files/patch-utils.c28
1 files changed, 28 insertions, 0 deletions
diff --git a/irc/sic/files/patch-utils.c b/irc/sic/files/patch-utils.c
new file mode 100644
index 000000000000..5985ab50b7e6
--- /dev/null
+++ b/irc/sic/files/patch-utils.c
@@ -0,0 +1,28 @@
+--- utils.c.orig Sun Mar 31 19:32:45 2002
++++ utils.c Sun Mar 31 19:32:55 2002
+@@ -12,25 +12,6 @@
+
+ #include "os.h"
+
+-/* strcasestr: case insensitive version of strstr() */
+-char *
+-strcasestr(s1, s2)
+- char *s1, *s2;
+-{
+- int len;
+-
+- assert( s1 && s2 );
+-
+- len = strlen(s2);
+- while (*s1)
+- {
+- if (!strncasecmp(s1, s2, len))
+- return s1;
+- s1++;
+- }
+- return NULL;
+-}
+-
+ /* match: some lame version
+ * returns 0 if no match.
+ */