From: Marc Cromme Date: Thu, 21 Sep 2006 11:45:00 +0000 (+0000) Subject: printing diagnostics messages X-Git-Tag: METAPROXY.1.0.7~55 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=7c9fe6e55266b4d63f25f4055e42b2acd7a095e5;p=metaproxy-moved-to-github.git printing diagnostics messages --- 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 << " -"; }