X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fmatch_glob.c;h=3f42843ac9ba5c3dc405c514566e3806169cba9b;hp=43f78cc6eebd09c8cbc0c50bb0c917b8f76df161;hb=e746aded3630be444c66f12e341a63413df92371;hpb=d0e351c12fff564d876958e860338d43716dc269 diff --git a/src/match_glob.c b/src/match_glob.c index 43f78cc..3f42843 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-2010 Index Data + * Copyright (C) 1995-2013 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;