From 5cb507c826353f8d11646d2f6d30de9f8bd3be46 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Sat, 29 Apr 2006 08:51:54 +0000 Subject: [PATCH] Use stderr for errors --- src/metaproxy_prog.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/metaproxy_prog.cpp b/src/metaproxy_prog.cpp index d5e5d1f..4ffcb6a 100644 --- a/src/metaproxy_prog.cpp +++ b/src/metaproxy_prog.cpp @@ -1,4 +1,4 @@ -/* $Id: metaproxy_prog.cpp,v 1.4 2006-04-29 08:51:00 adam Exp $ +/* $Id: metaproxy_prog.cpp,v 1.5 2006-04-29 08:51:54 adam Exp $ Copyright (c) 2005-2006, Index Data. %LICENSE% @@ -79,7 +79,7 @@ int main(int argc, char **argv) pack.router(router).move(); } catch (std::runtime_error &e) { - std::cout << "std::runtime error: " << e.what() << "\n"; + std::cerr << "std::runtime error: " << e.what() << "\n"; std::exit(1); } xmlFreeDoc(doc); @@ -94,7 +94,7 @@ int main(int argc, char **argv) std::exit(1); } catch (std::runtime_error &e) { - std::cout << "std::runtime error: " << e.what() << "\n"; + std::cerr << "std::runtime error: " << e.what() << "\n"; std::exit(1); } catch ( ... ) { -- 1.7.10.4