diff options
| author | 2018-04-22 21:05:01 -0400 | |
|---|---|---|
| committer | 2018-04-22 21:05:01 -0400 | |
| commit | 47140bffc86aede4669f0117c556fc8c290ff7e4 (patch) | |
| tree | 6b0911dfad4e30fb28292956439179a899e36201 /src/modules/dcc | |
| parent | KviKvsObject: Fix checking validity of returned QMetaProperty (diff) | |
| download | KVIrc-47140bffc86aede4669f0117c556fc8c290ff7e4.tar.gz KVIrc-47140bffc86aede4669f0117c556fc8c290ff7e4.tar.bz2 KVIrc-47140bffc86aede4669f0117c556fc8c290ff7e4.zip | |
Remove dead and useless code
Diffstat (limited to 'src/modules/dcc')
| -rw-r--r-- | src/modules/dcc/DccFileTransfer.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/modules/dcc/DccFileTransfer.cpp b/src/modules/dcc/DccFileTransfer.cpp index 2f3302521..7de19d38c 100644 --- a/src/modules/dcc/DccFileTransfer.cpp +++ b/src/modules/dcc/DccFileTransfer.cpp @@ -1035,13 +1035,6 @@ void DccSendThread::run() goto handle_system_error; break; case KviSSL::SyscallError: - if(written == 0) - { - raiseSSLError(); - postErrorEvent(KviError::RemoteEndClosedConnection); - goto exit_dcc; - } - else { int iSSLErr = m_pSSL->getLastError(true); if(iSSLErr != 0) @@ -2386,12 +2379,6 @@ bool DccFileTransfer::doResume(const char * filename, const char * port, quint64 if(!bFileNameMatches) { - // bad file name - if(!bPortMatches) - return false; // neither filename nor port match - - // port matches (this is very likely to be the right transfer) - if(!KVI_OPTION_BOOL(KviOption_boolAcceptBrokenFileNameDccResumeRequests)) { if(_OUTPUT_VERBOSE) |
