diff options
author | Max Kellermann <max@musicpd.org> | 2019-04-05 14:23:29 +0200 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2019-04-05 14:23:35 +0200 |
commit | 17dd334b821f9e70ea6d3a3615c111e0b62a32bf (patch) | |
tree | c62c7a72c417593599bfbb3d768f16120c4de887 /src/client | |
parent | ab5eb4f9cea596c549135f1e7ea49c462f994470 (diff) |
client/ThreadBackgroundCommand: fix inverted check
Diffstat (limited to 'src/client')
-rw-r--r-- | src/client/ThreadBackgroundCommand.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/ThreadBackgroundCommand.cxx b/src/client/ThreadBackgroundCommand.cxx index 32297c306..4cf2c0f40 100644 --- a/src/client/ThreadBackgroundCommand.cxx +++ b/src/client/ThreadBackgroundCommand.cxx @@ -53,7 +53,7 @@ ThreadBackgroundCommand::DeferredFinish() noexcept /* send the response */ Response response(client, 0); - if (!error) { + if (error) { PrintError(response, std::move(error)); } else { SendResponse(response); |