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
More wrbuf_buf woes.
[yaz-moved-to-github.git]
/
src
/
record_conv.c
diff --git
a/src/record_conv.c
b/src/record_conv.c
index
860a317
..
27381fa
100644
(file)
--- a/
src/record_conv.c
+++ b/
src/record_conv.c
@@
-2,7
+2,7
@@
* Copyright (C) 2005-2007, Index Data ApS
* See the file LICENSE for details.
*
* Copyright (C) 2005-2007, Index Data ApS
* See the file LICENSE for details.
*
- * $Id: record_conv.c,v 1.14 2007-01-03 08:42:15 adam Exp $
+ * $Id: record_conv.c,v 1.15 2007-03-19 14:40:07 adam Exp $
*/
/**
* \file record_conv.c
*/
/**
* \file record_conv.c
@@
-126,7
+126,7
@@
void yaz_record_conv_destroy(yaz_record_conv_t p)
{
yaz_record_conv_reset(p);
nmem_destroy(p->nmem);
{
yaz_record_conv_reset(p);
nmem_destroy(p->nmem);
- wrbuf_free(p->wr_error, 1);
+ wrbuf_destroy(p->wr_error);
xfree(p->path);
xfree(p);
}
xfree(p->path);
xfree(p);
}
@@
-484,7
+484,7
@@
int yaz_record_conv_record(yaz_record_conv_t p,
const char *yaz_record_conv_get_error(yaz_record_conv_t p)
{
const char *yaz_record_conv_get_error(yaz_record_conv_t p)
{
- return wrbuf_buf(p->wr_error);
+ return wrbuf_cstr(p->wr_error);
}
void yaz_record_conv_set_path(yaz_record_conv_t p, const char *path)
}
void yaz_record_conv_set_path(yaz_record_conv_t p, const char *path)