diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-04-03 00:18:51 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-04-03 00:18:51 +0200 |
commit | d79939ffbe4396a8be9e5dbffb77f8b8efe1d3e8 (patch) | |
tree | 9c1305f5eac1a617c02696c71f66f4d1ea5a8a1c /synchronizer | |
parent | 721a3a6a415b8137967c9c0da4a6f6db8cb61202 (diff) | |
download | sink-d79939ffbe4396a8be9e5dbffb77f8b8efe1d3e8.tar.gz sink-d79939ffbe4396a8be9e5dbffb77f8b8efe1d3e8.zip |
debug messages
Diffstat (limited to 'synchronizer')
-rw-r--r-- | synchronizer/listener.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/synchronizer/listener.cpp b/synchronizer/listener.cpp index 377c658..2e1e918 100644 --- a/synchronizer/listener.cpp +++ b/synchronizer/listener.cpp | |||
@@ -254,11 +254,13 @@ void Listener::processCommand(int commandId, uint messageId, Client &client, uin | |||
254 | break; | 254 | break; |
255 | default: | 255 | default: |
256 | if (commandId > Akonadi2::Commands::CustomCommand) { | 256 | if (commandId > Akonadi2::Commands::CustomCommand) { |
257 | Log() << QString("\tReceived custom command from %1: ").arg(client.name) << commandId; | ||
257 | loadResource(); | 258 | loadResource(); |
258 | if (m_resource) { | 259 | if (m_resource) { |
259 | m_resource->processCommand(commandId, client.commandBuffer, size, m_pipeline); | 260 | m_resource->processCommand(commandId, client.commandBuffer, size, m_pipeline); |
260 | } | 261 | } |
261 | } else { | 262 | } else { |
263 | Warning() << QString("\tReceived invalid command from %1: ").arg(client.name) << commandId; | ||
262 | //TODO: handle error: we don't know wtf this command is | 264 | //TODO: handle error: we don't know wtf this command is |
263 | } | 265 | } |
264 | break; | 266 | break; |