From 8f96576576233e22336b82b36cef8422309beb9a Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Sat, 13 Feb 1999 17:48:29 +0000 Subject: [PATCH] (match): remove #ifdef HAVE_FNMATCH. We have a fnmatch implementation in roken and therefore always have it. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5359 ec53bebd-3082-4978-b11e-865c3cabbd6b --- appl/ftp/ftpd/ftpd.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/appl/ftp/ftpd/ftpd.c b/appl/ftp/ftpd/ftpd.c index 1cd14e7c2..52c66dfa4 100644 --- a/appl/ftp/ftpd/ftpd.c +++ b/appl/ftp/ftpd/ftpd.c @@ -617,11 +617,7 @@ checkuser(char *fname, char *name) static int match(const char *pattern, const char *string) { -#ifdef HAVE_FNMATCH return fnmatch(pattern, string, FNM_NOESCAPE); -#else - return strcmp(pattern, "*") != 0 && strcmp(pattern, string) != 0; -#endif } static int