X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fsrw.c;h=958a85be5aaf4a9238fcd2943328c30320c01f08;hp=406af9f27cd62b7a421ef9ab5d3d932abe5f58d8;hb=a1c7e0185783d67c7d6022ae7d70dd890b7c0309;hpb=af895ebea6200bb5a752ae312b83a6f78edfad08 diff --git a/src/srw.c b/src/srw.c index 406af9f..958a85b 100644 --- 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")) {