From 84e8420d3ac503078b37b947b5bc71fa2fe56801 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 17 Jan 2006 16:56:48 +0000 Subject: [PATCH] In create_presentResponse, set status to failure for errors --- src/util.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/util.cpp b/src/util.cpp index 26f1edb..38fd9e2 100644 --- 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; } -- 1.7.10.4