X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=lib%2Fctmatch.c;h=7e807760618ff3548afcd991d5d27926c5fee066;hb=1a3cd3005f2a5cda8dbdaaf8f153ae5703845876;hp=aa9ab16c81798bf0d49e0ca36b4a9087dded25a4;hpb=49ed04e2e93a6a5b01058638224621d5c07db01c;p=libucw.git diff --git a/lib/ctmatch.c b/lib/ctmatch.c index aa9ab16c..7e807760 100644 --- a/lib/ctmatch.c +++ b/lib/ctmatch.c @@ -1,5 +1,5 @@ /* - * Sherlock Library -- Content-Type Pattern Matching + * UCW Library -- Content-Type Pattern Matching * * (c) 1997 Martin Mares * @@ -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;