projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Initialize members scanClause,errcode,errstring for Z39.50 scan handling
[yaz-moved-to-github.git]
/
src
/
matchstr.c
diff --git
a/src/matchstr.c
b/src/matchstr.c
index
95c32e0
..
efbc7ef
100644
(file)
--- a/
src/matchstr.c
+++ b/
src/matchstr.c
@@
-1,8
+1,8
@@
/*
/*
- * Copyright (c) 1995-2004, Index Data.
+ * Copyright (C) 1995-2005, Index Data ApS
* See the file LICENSE for details.
*
* See the file LICENSE for details.
*
- * $Id: matchstr.c,v 1.2 2004-10-15 00:19:00 adam Exp $
+ * $Id: matchstr.c,v 1.4 2005-01-15 19:47:14 adam Exp $
*/
/**
*/
/**
@@
-30,8
+30,8
@@
int yaz_matchstr(const char *s1, const char *s2)
{
while (*s1 && *s2)
{
{
while (*s1 && *s2)
{
- char c1 = *s1;
- char c2 = *s2;
+ unsigned char c1 = *s1;
+ unsigned char c2 = *s2;
if (c2 == '?')
return 0;
if (c2 == '?')
return 0;