Fix all overloaded Csock::ReadData() functions

CSocket changes the prototype, we follow.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1767 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
psychon
2010-02-18 13:16:44 +00:00
parent f5ede26cea
commit ec828fd081
7 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ CDCCSock::~CDCCSock() {
m_pUser->DelDCCSock(this);
}
void CDCCSock::ReadData(const char* data, int len) {
void CDCCSock::ReadData(const char* data, size_t len) {
if (!m_pFile) {
DEBUG("File not open! closing get.");
m_pUser->PutModule(m_sModuleName, ((m_bSend) ? "DCC -> [" : "DCC <- [") + m_sRemoteNick + "][" + m_sFileName + "] - File not open!");