mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-22 00:48:44 +00:00
Changed: Minor changes
This commit is contained in:
parent
c5132f5b9e
commit
d4cb7e9489
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