fix VC6 compile

This commit is contained in:
Chris Danford
2006-02-15 03:53:04 +00:00
parent c58eeda0e4
commit 130554e42a
2 changed files with 3 additions and 2 deletions
@@ -193,6 +193,7 @@ struct PolyphaseFilter
AlignedBuffer<float> m_fBuf;
int m_iBufNext;
};
friend struct State;
PolyphaseFilter( int iUpFactor ):
m_pPolyphase( L*iUpFactor )
@@ -674,7 +674,7 @@ void NetworkPostData::HttpThread()
RString sResult;
while( m_pStream->GetState() == NetworkStream::STATE_CONNECTED )
{
sBuf.clear();
sBuf.erase( sBuf.begin(), sBuf.end() );
void *p = sBuf.GetBuffer( 1024 );
int iGot = m_pStream->Read( p, 1024 );
if( iGot >= 0 )
@@ -713,7 +713,7 @@ void NetworkPostData::Start( const RString &sHost, int iPort, const RString &sPa
m_sHost = sHost;
m_iPort = iPort;
m_sPath = sPath;
m_sStatus.clear();
m_sStatus.erase( m_sStatus.begin(), m_sStatus.end() );
m_fProgress = 0;
m_Thread.SetName( "HTTP thread" );