summaryrefslogtreecommitdiff
path: root/src/socketengine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/socketengine.cpp')
-rw-r--r--src/socketengine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/socketengine.cpp b/src/socketengine.cpp
index c2a357b38..43e2c6f20 100644
--- a/src/socketengine.cpp
+++ b/src/socketengine.cpp
@@ -121,7 +121,7 @@ bool SocketEngine::HasFd(int fd)
EventHandler* SocketEngine::GetRef(int fd)
{
if (fd < 0 || static_cast<unsigned int>(fd) >= ref.size())
- return 0;
+ return NULL;
return ref[fd];
}