]> mj.ucw.cz Git - libucw.git/blobdiff - lib/ctmatch.c
Redefined RadixThreshold to bound the array size instead of the number
[libucw.git] / lib / ctmatch.c
index aa9ab16c81798bf0d49e0ca36b4a9087dded25a4..7e807760618ff3548afcd991d5d27926c5fee066 100644 (file)
@@ -1,5 +1,5 @@
 /*
- *     Sherlock Library -- Content-Type Pattern Matching
+ *     UCW Library -- Content-Type Pattern Matching
  *
  *     (c) 1997 Martin Mares <mj@ucw.cz>
  *
@@ -11,7 +11,7 @@
 #include "lib/chartype.h"
 
 int
-match_ct_patt(byte *p, byte *t)
+match_ct_patt(const char *p, const char *t)
 {
   if (*p == '*' && !p[1])              /* "*" matches everything */
     return 1;