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:
e28a34b
)
Init all SRW explain response members
author
Adam Dickmeiss
<adam@indexdata.dk>
Sat, 20 Dec 2003 22:40:46 +0000
(22:40 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Sat, 20 Dec 2003 22:40:46 +0000
(22:40 +0000)
src/srw.c
patch
|
blob
|
history
diff --git
a/src/srw.c
b/src/srw.c
index
3f39cf3
..
cd8b48c
100644
(file)
--- a/
src/srw.c
+++ b/
src/srw.c
@@
-2,7
+2,7
@@
* Copyright (c) 2002-2003, Index Data.
* See the file LICENSE for details.
*
* Copyright (c) 2002-2003, Index Data.
* See the file LICENSE for details.
*
- * $Id: srw.c,v 1.3 2003-12-20 00:51:19 adam Exp $
+ * $Id: srw.c,v 1.4 2003-12-20 22:40:46 adam Exp $
*/
#include <yaz/srw.h>
*/
#include <yaz/srw.h>
@@
-613,6
+613,9
@@
Z_SRW_PDU *yaz_srw_get(ODR o, int which)
odr_malloc(o, sizeof(*sr->u.explain_response));
sr->u.explain_response->record.recordData_buf = 0;
sr->u.explain_response->record.recordData_len = 0;
odr_malloc(o, sizeof(*sr->u.explain_response));
sr->u.explain_response->record.recordData_buf = 0;
sr->u.explain_response->record.recordData_len = 0;
+ sr->u.explain_response->record.recordSchema = 0;
+ sr->u.explain_response->record.recordPosition = 0;
+ sr->u.explain_response->record.recordPacking = Z_SRW_recordPacking_string;
}
return sr;
}
}
return sr;
}