]> 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 4c2687b9b3cdefa113b8bf33540810971d2867c5..7e807760618ff3548afcd991d5d27926c5fee066 100644 (file)
@@ -1,14 +1,17 @@
 /*
- *     Sherlock Library -- Content-Type Pattern Matching
+ *     UCW Library -- Content-Type Pattern Matching
  *
  *     (c) 1997 Martin Mares <mj@ucw.cz>
+ *
+ *     This software may be freely distributed and used according to the terms
+ *     of the GNU Lesser General Public License.
  */
 
 #include "lib/lib.h"
 #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;