projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
41f87f5
)
Reformat
author
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 28 Aug 2006 12:31:18 +0000
(12:31 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 28 Aug 2006 12:31:18 +0000
(12:31 +0000)
util/marcdump.c
patch
|
blob
|
history
diff --git
a/util/marcdump.c
b/util/marcdump.c
index
3b6163c
..
9190964
100644
(file)
--- a/
util/marcdump.c
+++ b/
util/marcdump.c
@@
-2,7
+2,7
@@
* Copyright (C) 1995-2006, Index Data ApS
* See the file LICENSE for details.
*
* Copyright (C) 1995-2006, Index Data ApS
* See the file LICENSE for details.
*
- * $Id: marcdump.c,v 1.40 2006-07-06 10:17:55 adam Exp $
+ * $Id: marcdump.c,v 1.41 2006-08-28 12:31:18 adam Exp $
*/
#define _FILE_OFFSET_BITS 64
*/
#define _FILE_OFFSET_BITS 64
@@
-204,9
+204,11
@@
static void dump(const char *fname, const char *from, const char *to,
fclose(sf);
}
}
fclose(sf);
}
}
- { int rlentmp = (int) rlen;
- r = yaz_marc_decode_buf (mt, buf, -1, &result, &rlentmp);
- rlen = (size_t) rlentmp; }
+ {
+ int rlentmp = (int) rlen;
+ r = yaz_marc_decode_buf(mt, buf, -1, &result, &rlentmp);
+ rlen = (size_t) rlentmp;
+ }
if (r > 0 && result)
{
fwrite (result, rlen, 1, stdout);
if (r > 0 && result)
{
fwrite (result, rlen, 1, stdout);