projects
/
idzebra-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 #165: Use multi-and and multi-or always. WS cleanups.
[idzebra-moved-to-github.git]
/
recctrl
/
safari.c
diff --git
a/recctrl/safari.c
b/recctrl/safari.c
index
a21179f
..
7c3582d
100644
(file)
--- a/
recctrl/safari.c
+++ b/
recctrl/safari.c
@@
-1,6
+1,6
@@
-/* $Id: safari.c,v 1.1 2004-11-29 21:55:28 adam Exp $
- Copyright (C) 2004
- Index Data Aps
+/* $Id: safari.c,v 1.3 2005-01-15 19:38:32 adam Exp $
+ Copyright (C) 1995-2005
+ Index Data ApS
This file is part of the Zebra server.
This file is part of the Zebra server.
@@
-130,7
+130,7
@@
static int safari_extract(void *clientData, struct recExtractCtrl *p)
char field[40];
char *cp;
yaz_log(YLOG_LOG, "safari line: %s", line);
char field[40];
char *cp;
yaz_log(YLOG_LOG, "safari line: %s", line);
- if (sscanf(line, "%lld %lld %lld %39s %n",
+ if (sscanf(line, ZINT_FORMAT " " ZINT_FORMAT " " ZINT_FORMAT " %39s %n",
&recWord.record_id, &recWord.section_id, &recWord.seqno,
field, &nor) < 4)
{
&recWord.record_id, &recWord.section_id, &recWord.seqno,
field, &nor) < 4)
{