mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-10 09:19:01 +00:00
Changed: Minor changes
This commit is contained in:
parent
3e658f1a1f
commit
27fcfd823a
2 changed files with 3 additions and 2 deletions
|
@ -2938,7 +2938,8 @@ string checkLogin(const string &login, const string &password, const string &cli
|
|||
// ***************************************************************************
|
||||
string selectShard(uint32 shardId, string &cookie, string &addr)
|
||||
{
|
||||
cookie = addr = "";
|
||||
cookie.clear();
|
||||
addr.clear();
|
||||
|
||||
if(!HttpClient.connectToLogin()) return "Can't connect (error code 7)";
|
||||
|
||||
|
|
|
@ -152,7 +152,7 @@ bool CHttpClient::receive(string &res, bool verbose)
|
|||
nlassert(_Sock.connected());
|
||||
|
||||
uint32 size;
|
||||
res = "";
|
||||
res.clear();
|
||||
|
||||
uint8 buf[1024];
|
||||
|
||||
|
|
Loading…
Reference in a new issue