summaryrefslogtreecommitdiff
path: root/src/socket.h
diff options
context:
space:
mode:
authorkwolekr <kwolekr@minetest.net>2015-11-08 18:14:36 -0500
committerkwolekr <kwolekr@minetest.net>2015-11-08 18:16:02 -0500
commit88a3977954f537b391c714be2a52da6b19711154 (patch)
tree69b6b469546b8772a195b80d4886802f919adb1e /src/socket.h
parent4ae6e509ffe886492598610a3511179ad87c1f43 (diff)
downloadminetest-88a3977954f537b391c714be2a52da6b19711154.tar.gz
minetest-88a3977954f537b391c714be2a52da6b19711154.tar.bz2
minetest-88a3977954f537b391c714be2a52da6b19711154.zip
Add errno to socket creation failed exception
Diffstat (limited to 'src/socket.h')
-rw-r--r--src/socket.h6
1 files changed, 3 insertions, 3 deletions
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)
{
}