Skip to content
This repository has been archived by the owner on Jul 6, 2021. It is now read-only.

Commit

Permalink
Bug:infinitely-loop。
Browse files Browse the repository at this point in the history
  • Loading branch information
qinqingege committed Jun 18, 2013
1 parent 48f8d87 commit 22b021d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions yl_messenger.cpp
Expand Up @@ -42,7 +42,7 @@

String& yl_messenger::get_api_key()
{
return get_api_key();
return api_key_;
}

void yl_messenger::set_host(const String &host)
Expand All @@ -57,7 +57,7 @@

String& yl_messenger::get_host()
{
return get_host();
return host_;
}

void yl_messenger::set_version(const String &version)
Expand All @@ -72,7 +72,7 @@

String& yl_messenger::get_version()
{
return get_version();
return version_;
}

void yl_messenger::set_tcp_client(yl_tcp_client *client)
Expand All @@ -87,7 +87,7 @@

yl_tcp_client* yl_messenger::get_tcp_client()
{
return get_tcp_client();
return client_;
}

bool yl_messenger::connect_yl()
Expand Down

0 comments on commit 22b021d

Please sign in to comment.