X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fmatch_glob.c;h=55e5367f5548c215bcce08e92f6072052c2b1b65;hp=8fe4a2e007035eee6c999821051672261e1be931;hb=ffc8ea2eb23fe8c74fbeb96d05b31c477767923f;hpb=43a9d38d20c1b1bcd1a03b2445a501d27526bd35 diff --git a/src/match_glob.c b/src/match_glob.c index 8fe4a2e..55e5367 100644 --- a/src/match_glob.c +++ b/src/match_glob.c @@ -1,5 +1,5 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2011 Index Data + * Copyright (C) Index Data * See the file LICENSE for details. */ /** @@ -12,7 +12,6 @@ #include #include -#include #include #include @@ -25,7 +24,7 @@ int yaz_match_glob(const char *glob, const char *text) return *text == '\0'; if (glob[0] == '*') { - do + do { if (yaz_match_glob(glob+1, text)) return 1;