fix VC6 build

This commit is contained in:
Chris Danford
2006-02-13 01:07:44 +00:00
parent 731368a0e7
commit 6116d9f1bc
3 changed files with 6 additions and 6 deletions
@@ -665,7 +665,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 )
@@ -704,7 +704,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" );