diff options
Diffstat (limited to 'src/userprocess.cpp')
-rw-r--r-- | src/userprocess.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/userprocess.cpp b/src/userprocess.cpp index 68c469aac..3a97a82c7 100644 --- a/src/userprocess.cpp +++ b/src/userprocess.cpp @@ -47,7 +47,9 @@ void ProcessUserHandler::Call(User* cu) try { - MOD_RESULT = Server->Config->GetIOHook(cu->GetPort())->OnRawSocketRead(cu->GetFd(),ReadBuffer,sizeof(ReadBuffer),result2); + MOD_RESULT = Server->Config->GetIOHook(cu->GetPort())->OnRawSocketRead(cu->GetFd(),ReadBuffer,Server->Config->NetBufferSize,result2); + + Server->Log(DEBUG,"MOD_RESULT=%d, result2=%d",MOD_RESULT,result2); } catch (CoreException& modexcept) { |