Check for NULL progress listener.

This commit is contained in:
Vincent Richard 2014-01-05 20:00:34 +01:00
parent 8e51494486
commit 59e635d317

View File

@ -141,6 +141,7 @@ void SMTPChunkingOutputStreamAdapter::flush()
sendChunk(m_buffer, m_bufferSize, /* last */ true);
m_bufferSize = 0;
if (m_progress)
m_progress->stop(m_totalSize);
}