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
Fixed bug #722: Allow Z39.50 Init Options to be specified / retrieved. Client code...
[yaz-moved-to-github.git]
/
ztest
/
read-marc.c
diff --git
a/ztest/read-marc.c
b/ztest/read-marc.c
index
cc9ca29
..
eb44631
100644
(file)
--- a/
ztest/read-marc.c
+++ b/
ztest/read-marc.c
@@
-1,8
+1,8
@@
/*
/*
- * Copyright (c) 2002, Index Data.
+ * Copyright (C) 1995-2005, Index Data ApS
* See the file LICENSE for details.
*
* See the file LICENSE for details.
*
- * $Id: read-marc.c,v 1.4 2002-12-16 13:13:53 adam Exp $
+ * $Id: read-marc.c,v 1.7 2005-06-25 15:46:09 adam Exp $
*/
/*
*/
/*
@@
-1537,7
+1537,7
@@
static int atoin (const char *buf, int n)
int val = 0;
while (--n >= 0)
{
int val = 0;
while (--n >= 0)
{
- if (isdigit(*buf))
+ if (isdigit(*(const unsigned char *) buf))
val = val*10 + (*buf - '0');
buf++;
}
val = val*10 + (*buf - '0');
buf++;
}
@@
-1617,3
+1617,11
@@
char *dummy_xml_record (int num, ODR odr)
yaz_marc_destroy(mt);
return rec;
}
yaz_marc_destroy(mt);
return rec;
}
+/*
+ * Local variables:
+ * c-basic-offset: 4
+ * indent-tabs-mode: nil
+ * End:
+ * vim: shiftwidth=4 tabstop=8 expandtab
+ */
+