null check before use in Msg40::gotSummary

This commit is contained in:
Brian Rasmusson
2016-10-22 19:25:46 +02:00
parent e732f11752
commit 4f0778548a

@ -1210,7 +1210,7 @@ bool Msg40::gotSummary ( ) {
// . set it to true on all but the last thing we send!
// . after each chunk of data we send out, TcpServer::sendChunk
// will call our callback, doneSendingWrapper9
if ( m_si->m_streamResults && st->m_socket )
if ( m_si && m_si->m_streamResults && st->m_socket )
st->m_socket->m_streamingMode = true;