projects
/
metaproxy-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:
be83c64
)
In create_presentResponse, set status to failure for errors
author
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 17 Jan 2006 16:56:48 +0000
(16:56 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 17 Jan 2006 16:56:48 +0000
(16:56 +0000)
src/util.cpp
patch
|
blob
|
history
diff --git
a/src/util.cpp
b/src/util.cpp
index
26f1edb
..
38fd9e2
100644
(file)
--- a/
src/util.cpp
+++ b/
src/util.cpp
@@
-1,4
+1,4
@@
-/* $Id: util.cpp,v 1.7 2006-01-17 16:43:22 adam Exp $
+/* $Id: util.cpp,v 1.8 2006-01-17 16:56:48 adam Exp $
Copyright (c) 2005, Index Data.
%LICENSE%
@@
-246,6
+246,7
@@
Z_APDU *yp2::odr::create_presentResponse(Z_APDU *in_apdu,
rec->which = Z_Records_NSD;
rec->u.nonSurrogateDiagnostic =
zget_DefaultDiagFormat(m_odr, error, addinfo);
+ *apdu->u.presentResponse->presentStatus = Z_PresentStatus_failure;
}
return apdu;
}