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
Fix idmetaversion strips n SA-743
[yaz-moved-to-github.git]
/
src
/
initopt.c
diff --git
a/src/initopt.c
b/src/initopt.c
index
0a98e0b
..
01fbd57
100644
(file)
--- a/
src/initopt.c
+++ b/
src/initopt.c
@@
-1,5
+1,5
@@
/* This file is part of the YAZ toolkit.
/* This file is part of the YAZ toolkit.
- * Copyright (C) 1995-2009 Index Data
+ * Copyright (C) Index Data
* See the file LICENSE for details.
*/
* See the file LICENSE for details.
*/
@@
-45,12
+45,12
@@
static struct {
int yaz_init_opt_encode(Z_Options *opt, const char *opt_str, int *error_pos)
{
const char *cp = opt_str;
int yaz_init_opt_encode(Z_Options *opt, const char *opt_str, int *error_pos)
{
const char *cp = opt_str;
-
+
ODR_MASK_ZERO(opt);
while (*cp)
{
char this_opt[42];
ODR_MASK_ZERO(opt);
while (*cp)
{
char this_opt[42];
- int i, j;
+ size_t i, j;
if (*cp == ' ' || *cp == ',')
{
cp++;
if (*cp == ' ' || *cp == ',')
{
cp++;