summaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2019-04-05 14:23:29 +0200
committerMax Kellermann <max@musicpd.org>2019-04-05 14:23:35 +0200
commit17dd334b821f9e70ea6d3a3615c111e0b62a32bf (patch)
treec62c7a72c417593599bfbb3d768f16120c4de887 /src/client
parentab5eb4f9cea596c549135f1e7ea49c462f994470 (diff)
client/ThreadBackgroundCommand: fix inverted check
Diffstat (limited to 'src/client')
-rw-r--r--src/client/ThreadBackgroundCommand.cxx2
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);