summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorpixel <pixel>2003-03-19 17:03:54 +0000
committerpixel <pixel>2003-03-19 17:03:54 +0000
commit8212ce04cafa89e0a3f3b46e7fb2940548e08214 (patch)
tree205182443cbeae8c84ff490f60651f62fd592a1b /src
parentab910aaa8c5e6afc05d0a2e17022565d1de92f67 (diff)
I am the dumbest...
Diffstat (limited to 'src')
-rw-r--r--src/Main.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Main.cc b/src/Main.cc
index 22534c1..e945075 100644
--- a/src/Main.cc
+++ b/src/Main.cc
@@ -22,6 +22,7 @@
#include "CopyJob.h"
#include "IRC.h"
#include "Main.h"
+#include "gettext.h"
InPipe * in;
@@ -178,7 +179,7 @@ int startup() throw (GeneralException) {
std::cout.flush();
(*in) >> r;
if (r != "poide") {
- std::cerr << "The stdout redirect has failed.\n";
+ printm(M_ERROR, "The stdout redirect has failed.\n");
exit(-1);
}
@@ -188,7 +189,7 @@ int startup() throw (GeneralException) {
port = optarg;
break;
default:
- std::cerr << "Usage: " << argv[0] << " [-p port]\n";
+ printm(M_BARE, String(_("Usage: ")) + argv[0] + " [-p port]\n");
exit(-1);
}
}