Skip to content

Commit

Permalink
minor codw cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
taganaka committed Sep 9, 2016
1 parent 9ff1314 commit 1a1ef00
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions SpeedTestClient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ bool SpeedTestClient::connect() {
close();
return false;
}
std::string cmp = "HELLO";
if (!reply.empty() && reply.compare(0, cmp.length(), cmp) == 0){

if (!reply.empty() && "HELLO" == hello){
return true;
}

Expand Down

0 comments on commit 1a1ef00

Please sign in to comment.