aboutsummaryrefslogtreecommitdiffstats
path: root/src/inspsocket.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/inspsocket.cpp')
-rw-r--r--src/inspsocket.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/inspsocket.cpp b/src/inspsocket.cpp
index 71fdbeb2b..f0f804fff 100644
--- a/src/inspsocket.cpp
+++ b/src/inspsocket.cpp
@@ -137,16 +137,6 @@ CullResult StreamSocket::cull()
return EventHandler::cull();
}
-bool StreamSocket::GetNextLine(std::string& line, char delim)
-{
- std::string::size_type i = recvq.find(delim);
- if (i == std::string::npos)
- return false;
- line.assign(recvq, 0, i);
- recvq.erase(0, i + 1);
- return true;
-}
-
int StreamSocket::HookChainRead(IOHook* hook, std::string& rq)
{
if (!hook)