Add LICENSE file and Refer to it from the source. Include license material
[metaproxy-moved-to-github.git] / src / metaproxy_prog.cpp
index d5e5d1f..0bec077 100644 (file)
@@ -1,7 +1,7 @@
-/* $Id: metaproxy_prog.cpp,v 1.4 2006-04-29 08:51:00 adam Exp $
+/* $Id: metaproxy_prog.cpp,v 1.6 2006-06-10 14:29:12 adam Exp $
    Copyright (c) 2005-2006, Index Data.
 
-%LICENSE%
+   See the LICENSE file for details
  */
 
 #include "config.hpp"
@@ -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 ( ... ) {