mirror of
https://github.com/znc/znc.git
synced 2026-08-07 01:13:25 +02:00
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:
+1
-1
@@ -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!");
|
||||
|
||||
Reference in New Issue
Block a user