From 1b3a914d5fdf5a578e24754845c6350c59c0b523 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Tue, 29 Sep 2009 18:12:59 +0200 Subject: Fixed some UserListManager-related bugs --- src/Client/Requests/UserLists/UserListUploadRequest.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/Client/Requests/UserLists') diff --git a/src/Client/Requests/UserLists/UserListUploadRequest.cpp b/src/Client/Requests/UserLists/UserListUploadRequest.cpp index 28251d8..8ac9ab6 100644 --- a/src/Client/Requests/UserLists/UserListUploadRequest.cpp +++ b/src/Client/Requests/UserLists/UserListUploadRequest.cpp @@ -46,6 +46,8 @@ void UserListUploadRequest::handlePacket(boost::shared_ptrgetType() != "Continue") { signalFinished(Core::Exception(Core::Exception::UNEXPECTED_PACKET)); @@ -53,10 +55,11 @@ void UserListUploadRequest::handlePacket(boost::shared_ptrget("exists")) { + canceled = true; + Common::XmlData ret; ret.setType("Cancel"); sendPacket(ret); - canceled = true; return; } -- cgit v1.2.3