Update src/common/webrequest.cpp
Co-Authored-By: TcT2k <TcT2k@users.noreply.github.com>
This commit is contained in:
committed by
Tobias Taschner
parent
58ad18adf3
commit
2f4be7e1ae
@@ -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()));
|
||||
|
Reference in New Issue
Block a user