From b517f4d686e36a80974d0f2013144e6a22388c09 Mon Sep 17 00:00:00 2001 From: Marc Cromme Date: Thu, 31 Aug 2006 12:55:54 +0000 Subject: [PATCH] added close diagnostic information --- src/gduutil.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/gduutil.cpp b/src/gduutil.cpp index 066baab..67a9c6e 100644 --- a/src/gduutil.cpp +++ b/src/gduutil.cpp @@ -1,4 +1,4 @@ -/* $Id: gduutil.cpp,v 1.4 2006-08-30 15:56:54 marc Exp $ +/* $Id: gduutil.cpp,v 1.5 2006-08-31 12:55:54 marc Exp $ Copyright (c) 2005-2006, Index Data. See the LICENSE file for details @@ -392,7 +392,7 @@ std::ostream& std::operator<<(std::ostream& os, Z_APDU& zapdu) { Z_Close *c = zapdu.u.close; - + os << *(c->closeReason) << " "; switch (*(c->closeReason)) { case Z_Close_finished: @@ -429,6 +429,7 @@ std::ostream& std::operator<<(std::ostream& os, Z_APDU& zapdu) os << "unknown"; break; } + os << " " << c->diagnosticInformation; } break; case Z_APDU_duplicateDetectionRequest: -- 1.7.10.4