Skip to content
Snippets Groups Projects
Commit 11bd5cb8 authored by Xiaohong Bao's avatar Xiaohong Bao
Browse files

trivial: fix a mac build error.

parent f082de03
No related branches found
No related tags found
No related merge requests found
......@@ -915,7 +915,7 @@ void LLCurlThread::CurlRequest::finishRequest(bool completed)
}
else
{
mMulti->cleanup() ; //being idle too long, remove the request.
mCurlThread->cleanupMulti(mMulti) ; //being idle too long, remove the request.
}
mMulti = NULL ;
......@@ -976,6 +976,13 @@ void LLCurlThread::deleteMulti(LLCurl::Multi* multi)
{
delete multi ;
}
//private
void LLCurlThread::cleanupMulti(LLCurl::Multi* multi)
{
multi->cleanup() ;
}
//------------------------------------------------------------
//static
......
......@@ -370,6 +370,7 @@ class LLCurlThread : public LLQueuedThread
private:
bool doMultiPerform(LLCurl::Multi* multi) ;
void deleteMulti(LLCurl::Multi* multi) ;
void cleanupMulti(LLCurl::Multi* multi) ;
} ;
namespace boost
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment