From 88a3977954f537b391c714be2a52da6b19711154 Mon Sep 17 00:00:00 2001 From: kwolekr Date: Sun, 8 Nov 2015 18:14:36 -0500 Subject: Add errno to socket creation failed exception --- src/socket.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/socket.h') diff --git a/src/socket.h b/src/socket.h index c7dd78f66..8d1ad70ff 100644 --- a/src/socket.h +++ b/src/socket.h @@ -45,7 +45,7 @@ extern bool socket_enable_debug_output; class SocketException : public BaseException { public: - SocketException(const char *s): + SocketException(const std::string &s): BaseException(s) { } @@ -54,7 +54,7 @@ public: class ResolveError : public BaseException { public: - ResolveError(const char *s): + ResolveError(const std::string &s): BaseException(s) { } @@ -63,7 +63,7 @@ public: class SendFailedException : public BaseException { public: - SendFailedException(const char *s): + SendFailedException(const std::string &s): BaseException(s) { } -- cgit v1.2.3