From e4075153def021c3405accb19ffcdc3247d98807 Mon Sep 17 00:00:00 2001 From: Pixel Date: Sun, 2 Dec 2001 18:55:35 +0000 Subject: Comments and so... --- lib/Socket.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/Socket.cc') diff --git a/lib/Socket.cc b/lib/Socket.cc index f35bb72..aada133 100644 --- a/lib/Socket.cc +++ b/lib/Socket.cc @@ -15,7 +15,7 @@ Socket::Socket() throw (GeneralException) : Handle(socket(AF_INET, SOCK_STREAM, 0)), connected(false), listening(false) { if (GetHandle() < 0) { - throw GeneralException("Error creating socket."); + throw GeneralException(_("Error creating socket.")); } } @@ -117,7 +117,7 @@ Socket Socket::Accept(void) throw (GeneralException) { int h; if ((h = accept(GetHandle(), &inaddr, &inlen)) < 0) { - throw GeneralException("Failed accepting."); + throw GeneralException(_("Failed accepting.")); } else { return Socket(h); } -- cgit v1.2.3