diff options
Diffstat (limited to 'synchronizer/listener.cpp')
-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; |