Update src/common/webrequest.cpp

Co-Authored-By: TcT2k <TcT2k@users.noreply.github.com>
This commit is contained in:
Cătălin Răceanu
2018-11-02 15:56:36 +01:00
committed by Tobias Taschner
parent 58ad18adf3
commit 2f4be7e1ae

View File

@@ -254,7 +254,7 @@ wxInputStream * wxWebResponse::GetStream() const
if ( !m_stream.get() )
{
// Create stream
switch (m_request.GetStorage())
switch ( m_request.GetStorage() )
{
case wxWebRequest::Storage_Memory:
m_stream.reset(new wxMemoryInputStream(m_readBuffer.GetData(), m_readBuffer.GetDataLen()));