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:
af895eb
)
Initialize username and password in yaz_srw_codec.
author
Adam Dickmeiss
<adam@indexdata.dk>
Sun, 7 May 2006 14:31:30 +0000
(14:31 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Sun, 7 May 2006 14:31:30 +0000
(14:31 +0000)
src/srw.c
patch
|
blob
|
history
diff --git
a/src/srw.c
b/src/srw.c
index
406af9f
..
958a85b
100644
(file)
--- a/
src/srw.c
+++ b/
src/srw.c
@@
-2,7
+2,7
@@
* Copyright (C) 1995-2005, Index Data ApS
* See the file LICENSE for details.
*
- * $Id: srw.c,v 1.44 2006-03-01 22:33:06 adam Exp $
+ * $Id: srw.c,v 1.45 2006-05-07 14:31:30 adam Exp $
*/
/**
* \file srw.c
@@
-541,6
+541,8
@@
int yaz_srw_codec(ODR o, void * vptr, Z_SRW_PDU **handler_data,
*p = (Z_SRW_PDU *) odr_malloc(o, sizeof(**p));
(*p)->srw_version = odr_strdup(o, "1.1");
+ (*p)->username = 0;
+ (*p)->password = 0;
if (!xmlStrcmp(method->name, BAD_CAST "searchRetrieveRequest"))
{