summaryrefslogtreecommitdiff
path: root/core/io/net_socket.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/io/net_socket.cpp')
-rw-r--r--core/io/net_socket.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/io/net_socket.cpp b/core/io/net_socket.cpp
index e92bc705ce..130a2e245e 100644
--- a/core/io/net_socket.cpp
+++ b/core/io/net_socket.cpp
@@ -33,8 +33,9 @@
NetSocket *(*NetSocket::_create)() = nullptr;
NetSocket *NetSocket::create() {
- if (_create)
+ if (_create) {
return _create();
+ }
ERR_PRINT("Unable to create network socket, platform not supported");
return nullptr;