diff options
| author | 2009-04-08 23:08:35 +0000 | |
|---|---|---|
| committer | 2009-04-08 23:08:35 +0000 | |
| commit | 6dbf6d889541ba48ed9302d9ca9356c365609b5f (patch) | |
| tree | 5ac737deb61cf0bc64dc7e5e94a27c6d3c8dc6d6 /src/modules/dcc/send.cpp | |
| parent | small header fix when compiling without crypt-support (diff) | |
| download | KVIrc-6dbf6d889541ba48ed9302d9ca9356c365609b5f.tar.gz KVIrc-6dbf6d889541ba48ed9302d9ca9356c365609b5f.tar.bz2 KVIrc-6dbf6d889541ba48ed9302d9ca9356c365609b5f.zip | |
fix for #365
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@3173 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/dcc/send.cpp')
| -rw-r--r-- | src/modules/dcc/send.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/modules/dcc/send.cpp b/src/modules/dcc/send.cpp index bc9e48394..9731bd83b 100644 --- a/src/modules/dcc/send.cpp +++ b/src/modules/dcc/send.cpp @@ -1417,7 +1417,7 @@ bool KviDccFileTransfer::handleResumeAccepted(const char * filename,const char * return false; } -bool KviDccFileTransfer::handleResumeRequest(const char * filename,const char * port,unsigned int filePos) +bool KviDccFileTransfer::handleResumeRequest(const char * filename,const char * port,unsigned long filePos) { if(!g_pDccFileTransfers)return false; @@ -1630,6 +1630,7 @@ bool KviDccFileTransfer::event(QEvent *e) outputAndLog(m_szStatusString); m_eGeneralStatus = Success; m_tTransferEndTime = kvi_unixTime(); + if (m_pResumeTimer) delete m_pResumeTimer; KVS_TRIGGER_EVENT_2(KviEvent_OnDCCFileTransferSuccess, eventWindow(), @@ -1763,7 +1764,7 @@ bool KviDccFileTransfer::resumeAccepted(const char *filename,const char *port,co return true; } -bool KviDccFileTransfer::doResume(const char * filename,const char * port,unsigned int filePos) +bool KviDccFileTransfer::doResume(const char * filename,const char * port,unsigned long filePos) { if(KviQString::equalCI(port,m_pMarshal->dccPort()) && (!m_pSlaveRecvThread) && (!m_pDescriptor->bRecvFile)) |
