diff options
Diffstat (limited to 'src/socketengine.cpp')
-rw-r--r-- | src/socketengine.cpp | 2 |
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]; } |