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
Added interface for tcpd wrapper for access control.
[yaz-moved-to-github.git]
/
ccl
/
ccltoken.c
diff --git
a/ccl/ccltoken.c
b/ccl/ccltoken.c
index
42922cf
..
31c272b
100644
(file)
--- a/
ccl/ccltoken.c
+++ b/
ccl/ccltoken.c
@@
-45,7
+45,10
@@
* Europagate, 1995
*
* $Log: ccltoken.c,v $
* Europagate, 1995
*
* $Log: ccltoken.c,v $
- * Revision 1.9 1998-02-11 11:53:33 adam
+ * Revision 1.10 1998-07-07 15:49:41 adam
+ * Added braces to avoid warning.
+ *
+ * Revision 1.9 1998/02/11 11:53:33 adam
* Changed code so that it compiles as C++.
*
* Revision 1.8 1997/09/29 08:56:38 adam
* Changed code so that it compiles as C++.
*
* Revision 1.8 1997/09/29 08:56:38 adam
@@
-121,6
+124,7
@@
static int token_cmp (CCL_parser cclp, const char *kw, struct ccl_token *token)
while ((cp2 = strchr (cp1, ' ')))
{
if (token->len == (size_t) (cp2-cp1))
while ((cp2 = strchr (cp1, ' ')))
{
if (token->len == (size_t) (cp2-cp1))
+ {
if (cclp->ccl_case_sensitive)
{
if (!memcmp (cp1, token->name, token->len))
if (cclp->ccl_case_sensitive)
{
if (!memcmp (cp1, token->name, token->len))
@@
-131,6
+135,7
@@
static int token_cmp (CCL_parser cclp, const char *kw, struct ccl_token *token)
if (!ccl_memicmp (cp1, token->name, token->len))
return 1;
}
if (!ccl_memicmp (cp1, token->name, token->len))
return 1;
}
+ }
cp1 = cp2+1;
}
if (cclp->ccl_case_sensitive)
cp1 = cp2+1;
}
if (cclp->ccl_case_sensitive)