summaryrefslogtreecommitdiff
path: root/cpp/src/IceSSL/RFC2253.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/IceSSL/RFC2253.cpp')
-rw-r--r--cpp/src/IceSSL/RFC2253.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/cpp/src/IceSSL/RFC2253.cpp b/cpp/src/IceSSL/RFC2253.cpp
index e4c57add13a..b6b44c7fa25 100644
--- a/cpp/src/IceSSL/RFC2253.cpp
+++ b/cpp/src/IceSSL/RFC2253.cpp
@@ -501,15 +501,15 @@ print(const list< list<pair<string, string> > >& r)
{
if(r.size() > 1)
{
- cout << "result: " << r.size() << " DNs" << endl;
+ consoleOut << "result: " << r.size() << " DNs" << endl;
}
for(list< list<pair<string, string> > >::const_iterator q = r.begin(); q != r.end(); ++q)
{
list<pair<string, string> > l = *q;
- cout << "result: " << l.size() << " RDNs" << endl;
+ consoleOut << "result: " << l.size() << " RDNs" << endl;
for(list<pair<string, string> >::const_iterator p = l.begin(); p != l.end(); ++p)
{
- cout << "\t\"" << p->first << "\"=\"" << p->second << "\"" << endl;
+ consoleOut << "\t\"" << p->first << "\"=\"" << p->second << "\"" << endl;
}
}
}
@@ -529,13 +529,13 @@ main()
{
for(int i = 0; i < sizeof(examples)/sizeof(examples[0]); ++i)
{
- cout << "string: " << examples[i] << endl;
+ consoleOut << "string: " << examples[i] << endl;
print(RFC2253::parse(examples[i]));
}
}
catch(const RFC2253::ParseException& e)
{
- cout << "error: " << e.reason << endl;
+ consoleOut << "error: " << e.reason << endl;
}
}
#endif