From: Marc Cromme Date: Thu, 31 Aug 2006 12:55:54 +0000 (+0000) Subject: added close diagnostic information X-Git-Tag: METAPROXY.1.0.7~84 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=b517f4d686e36a80974d0f2013144e6a22388c09;p=metaproxy-moved-to-github.git added close diagnostic information --- 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: