projects
/
metaproxy-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Put proper reference IDs in response PDUs properly.
[metaproxy-moved-to-github.git]
/
src
/
filter_auth_simple.cpp
diff --git
a/src/filter_auth_simple.cpp
b/src/filter_auth_simple.cpp
index
d5a4c82
..
b211e75
100644
(file)
--- a/
src/filter_auth_simple.cpp
+++ b/
src/filter_auth_simple.cpp
@@
-1,4
+1,4
@@
-/* $Id: filter_auth_simple.cpp,v 1.1 2006-01-12 10:04:34 adam Exp $
+/* $Id: filter_auth_simple.cpp,v 1.2 2006-01-13 15:09:35 adam Exp $
Copyright (c) 2005, Index Data.
%LICENSE%
Copyright (c) 2005, Index Data.
%LICENSE%
@@
-50,7
+50,7
@@
void yf::AuthSimple::process(yp2::Package &package) const
if (!init->idAuthentication)
{
yp2::odr odr;
if (!init->idAuthentication)
{
yp2::odr odr;
- Z_APDU *apdu = zget_APDU(odr, Z_APDU_initResponse);
+ Z_APDU *apdu = odr.create_initResponse(gdu->u.z3950, 0, 0);
apdu->u.initResponse->implementationName = "YP2/YAZ";
*apdu->u.initResponse->result = 0; // reject
apdu->u.initResponse->implementationName = "YP2/YAZ";
*apdu->u.initResponse->result = 0; // reject