let System::PutUrlProto takes a stream by a reference to pt::Stream
This commit is contained in:
@@ -229,7 +229,7 @@ void System::PutUrlProto(bool can_use_ssl, std::wstring & str, bool clear_str)
|
||||
/*
|
||||
* try_to_use_ssl is to be meant: config->use_ssl, config->use_ssl_static, config->use_ssl_common
|
||||
*/
|
||||
void System::PutUrlProto(bool can_use_ssl, pt::TextStream & str, bool clear_stream)
|
||||
void System::PutUrlProto(bool can_use_ssl, pt::Stream & str, bool clear_stream)
|
||||
{
|
||||
if( clear_stream )
|
||||
str.clear();
|
||||
@@ -251,7 +251,7 @@ void System::PutUrlProto(std::wstring & str, bool clear_str)
|
||||
}
|
||||
|
||||
|
||||
void System::PutUrlProto(pt::TextStream & str, bool clear_stream)
|
||||
void System::PutUrlProto(pt::Stream & str, bool clear_stream)
|
||||
{
|
||||
return PutUrlProto(config->use_ssl, str, clear_stream);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user