mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-24 01:48:44 +00:00
Changed: Minor changes
--HG-- branch : develop
This commit is contained in:
parent
8fb8cfb218
commit
8099537d02
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)
|
string selectShard(uint32 shardId, string &cookie, string &addr)
|
||||||
{
|
{
|
||||||
cookie = addr = "";
|
cookie.clear();
|
||||||
|
addr.clear();
|
||||||
|
|
||||||
if(!HttpClient.connectToLogin()) return "Can't connect (error code 7)";
|
if(!HttpClient.connectToLogin()) return "Can't connect (error code 7)";
|
||||||
|
|
||||||
|
|
|
@ -152,7 +152,7 @@ bool CHttpClient::receive(string &res, bool verbose)
|
||||||
nlassert(_Sock.connected());
|
nlassert(_Sock.connected());
|
||||||
|
|
||||||
uint32 size;
|
uint32 size;
|
||||||
res = "";
|
res.clear();
|
||||||
|
|
||||||
uint8 buf[1024];
|
uint8 buf[1024];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue