Skip to content

Commit

Permalink
Hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
hiilikewiki committed Jan 17, 2022
1 parent 02fe13a commit a90521c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SophosSession.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public async Task Login() {
HttpResponseMessage msg =
await _client.PostAsync(url, new FormUrlEncodedContent(body));

if (msg.CheckSuccess()) {
if (!msg.CheckSuccess()) {
throw new WebException("Request failed: " + msg.StatusCode);
}

Expand Down

0 comments on commit a90521c

Please sign in to comment.