From 7c9fe6e55266b4d63f25f4055e42b2acd7a095e5 Mon Sep 17 00:00:00 2001 From: Marc Cromme Date: Thu, 21 Sep 2006 11:45:00 +0000 Subject: [PATCH] printing diagnostics messages --- src/gduutil.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/gduutil.cpp b/src/gduutil.cpp index ad2a07c..333e605 100644 --- a/src/gduutil.cpp +++ b/src/gduutil.cpp @@ -1,4 +1,4 @@ -/* $Id: gduutil.cpp,v 1.10 2006-09-20 15:09:45 marc Exp $ +/* $Id: gduutil.cpp,v 1.11 2006-09-21 11:45:00 marc Exp $ Copyright (c) 2005-2006, Index Data. See the LICENSE file for details @@ -607,15 +607,15 @@ std::ostream& std::operator<<(std::ostream& os, Z_SRW_PDU& srw_pdu) { os << " DIAG"; if (sr->diagnostics && sr->diagnostics->uri) - os << " " << *(sr->diagnostics->uri); + os << " " << (sr->diagnostics->uri); else os << " -"; if (sr->diagnostics && sr->diagnostics->message) - os << " " << *(sr->diagnostics->message); + os << " " << (sr->diagnostics->message); else os << " -"; if (sr->diagnostics && sr->diagnostics->details) - os << " " << *(sr->diagnostics->details); + os << " " << (sr->diagnostics->details); else os << " -"; } -- 1.7.10.4