/*
- * Copyright (c) 1995-2003, Index Data.
+ * Copyright (C) 1995-2005, Index Data ApS
* See the file LICENSE for details.
- * Sebastian Hammer, Adam Dickmeiss
*
- * $Id: matchstr.c,v 1.1 2003-10-27 12:21:31 adam Exp $
+ * $Id: matchstr.c,v 1.4 2005-01-15 19:47:14 adam Exp $
*/
+
+/**
+ * \file matchstr.c
+ * \brief Implements loose string matching
+ */
+
#if HAVE_CONFIG_H
#include <config.h>
#endif
{
while (*s1 && *s2)
{
- char c1 = *s1;
- char c2 = *s2;
+ unsigned char c1 = *s1;
+ unsigned char c2 = *s2;
if (c2 == '?')
return 0;