Skip to content
This repository has been archived by the owner on Feb 12, 2023. It is now read-only.

Commit

Permalink
fix(toxme): Delete extra check
Browse files Browse the repository at this point in the history
Result is checked in response "c" value
  • Loading branch information
Diadlo committed Apr 15, 2016
1 parent a146c43 commit d1b706a
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/net/toxme.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,6 @@ QByteArray Toxme::makeJsonRequest(QString url, QString json, QNetworkReply::Netw
qApp->processEvents();
}

error = reply->error();
if (error)
{
qWarning() << "makeJsonRequest: A network error occured:" << reply->errorString();
return QByteArray();
}

QByteArray result = reply->readAll();
delete reply;
return result;
Expand Down

0 comments on commit d1b706a

Please sign in to comment.