summaryrefslogtreecommitdiff
blob: 6fdea28865a16ba16cfb2b1343a556116a7f4138 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- src/hooks/HTTPClient.cc	2003-10-01 23:01:52.000000000 +0000
+++ src/hooks/HTTPClient~.cc	2003-10-12 19:46:50.574377224 +0000
@@ -273,7 +273,11 @@
 	MessageEvent *ev = *m_queue.begin();
 	ev->setDelivered(false);
 	ev->setFinished(true);
+	#ifdef ENABLE_NLS
 	dynamic_cast<HTTPRequestEvent*>(ev)->setHTTPResp(gettext("Timed out"));
+	#else
+	dynamic_cast<HTTPRequestEvent*>(ev)->setHTTPResp("Timed out");
+	#endif
 	ev->setDeliveryFailureReason(MessageEvent::Failed);
 	messageack.emit(ev);