diff --git a/src/common/webrequest.cpp b/src/common/webrequest.cpp index db5fa75273..bdcca3649a 100644 --- a/src/common/webrequest.cpp +++ b/src/common/webrequest.cpp @@ -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())); @@ -408,15 +408,15 @@ void wxWebSession::InitFactoryMap() { #if wxUSE_WEBREQUEST_WINHTTP RegisterFactory(wxWebSessionBackendWinHTTP, - wxSharedPtr(new wxWebSessionFactoryWinHTTP())); + wxSharedPtr(new wxWebSessionFactoryWinHTTP())); #endif #if wxUSE_WEBREQUEST_URLSESSION - RegisterFactory(wxWebSessionBackendURLSession, - wxSharedPtr(new wxWebSessionFactoryURLSession())); + RegisterFactory(wxWebSessionBackendURLSession, + wxSharedPtr(new wxWebSessionFactoryURLSession())); #endif #if wxUSE_WEBREQUEST_CURL - RegisterFactory(wxWebSessionBackendCURL, - wxSharedPtr(new wxWebSessionFactoryCURL())); + RegisterFactory(wxWebSessionBackendCURL, + wxSharedPtr(new wxWebSessionFactoryCURL())); #endif }