summaryrefslogtreecommitdiff
path: root/Servers
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-05-05 23:56:20 +0200
committerAndreas Kling <kling@serenityos.org>2020-05-05 23:56:20 +0200
commit68abc103f7ae87c8951ad0f67ccd5c2237d37897 (patch)
tree513e37ca3b2597f3179c68cff8d04d027b19bb20 /Servers
parent588e18721d74027c68609c244516fa636bdd149d (diff)
downloadserenity-68abc103f7ae87c8951ad0f67ccd5c2237d37897.zip
ProtocolServer: Report success after stopping a download
Diffstat (limited to 'Servers')
-rw-r--r--Servers/ProtocolServer/PSClientConnection.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Servers/ProtocolServer/PSClientConnection.cpp b/Servers/ProtocolServer/PSClientConnection.cpp
index 2be83a2c12..1d07fdb8b2 100644
--- a/Servers/ProtocolServer/PSClientConnection.cpp
+++ b/Servers/ProtocolServer/PSClientConnection.cpp
@@ -72,6 +72,7 @@ OwnPtr<Messages::ProtocolServer::StopDownloadResponse> PSClientConnection::handl
bool success = false;
if (download) {
download->stop();
+ success = true;
}
return make<Messages::ProtocolServer::StopDownloadResponse>(success);
}