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 check for Git submodules.
[yaz-moved-to-github.git]
/
test
/
tstwrbuf.c
diff --git
a/test/tstwrbuf.c
b/test/tstwrbuf.c
index
5888afe
..
52e2fbf
100644
(file)
--- a/
test/tstwrbuf.c
+++ b/
test/tstwrbuf.c
@@
-1,8
+1,8
@@
/*
/*
- * Copyright (C) 1995-2005, Index Data ApS
+ * Copyright (C) 1995-2007, Index Data ApS
* See the file LICENSE for details.
*
* See the file LICENSE for details.
*
- * $Id: tstwrbuf.c,v 1.5 2006-01-29 21:59:13 adam Exp $
+ * $Id: tstwrbuf.c,v 1.7 2007-03-19 14:40:07 adam Exp $
*/
#include <stdlib.h>
*/
#include <stdlib.h>
@@
-18,7
+18,7
@@
static void tstwrbuf(void)
YAZ_CHECK(wr);
YAZ_CHECK(wr);
- wrbuf_free(wr, 1);
+ wrbuf_destroy(wr);
wr = wrbuf_alloc();
wr = wrbuf_alloc();
@@
-50,7
+50,7
@@
static void tstwrbuf(void)
}
wrbuf_rewind(wr);
}
}
wrbuf_rewind(wr);
}
- wrbuf_free(wr, 1);
+ wrbuf_destroy(wr);
}
int main (int argc, char **argv)
}
int main (int argc, char **argv)