diff options
Diffstat (limited to 'include/ingen/client')
-rw-r--r-- | include/ingen/client/SocketClient.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ingen/client/SocketClient.hpp b/include/ingen/client/SocketClient.hpp index 8e551821..642ae1ef 100644 --- a/include/ingen/client/SocketClient.hpp +++ b/include/ingen/client/SocketClient.hpp @@ -59,7 +59,7 @@ public: if (!sock->connect(uri)) { world.log().error("Failed to connect <%1%> (%2%)\n", sock->uri(), strerror(errno)); - return SPtr<Interface>(); + return nullptr; } return SPtr<Interface>(new SocketClient(world, uri, sock, respondee)); } |