limit the scope of m_stateMutex
diff --git a/include/sync-logic.h b/include/sync-logic.h
index 7108054..34b2e79 100644
--- a/include/sync-logic.h
+++ b/include/sync-logic.h
@@ -165,6 +165,10 @@
   sendSyncData (const std::string &name,
                 DigestConstPtr digest, StateConstPtr state);
 
+  void
+  sendSyncData (const std::string &name,
+                DigestConstPtr digest, SyncStateMsg &msg);
+
   size_t
   getNumberOfBranches () const;