summaryrefslogtreecommitdiff
path: root/syncCommand.h
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2008-02-04 20:34:37 +0000
committerChristian Pointner <equinox@anytun.org>2008-02-04 20:34:37 +0000
commitc01ff56f61b28d0a909f46b95182b5a26aaa6cd3 (patch)
tree0192e862cc9e71d260d64daf1f6fd2e4a379e80f /syncCommand.h
parentsorry for not working checkin ;) (diff)
fixed bug @ sync
key gets updatet @ sync
Diffstat (limited to 'syncCommand.h')
-rw-r--r--syncCommand.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/syncCommand.h b/syncCommand.h
index c556cfb..e8f66a7 100644
--- a/syncCommand.h
+++ b/syncCommand.h
@@ -22,7 +22,7 @@ private:
template<class Archive>
void serialize(Archive & ar, const unsigned int version)
{
- Lock lock(mutex_);
+ Lock lock(cl_.getMutex());
ar & mux_;
ConnectionParam & conn = cl_.getOrNewConnection(mux_);
ar & conn;
@@ -30,4 +30,4 @@ private:
};
-#endif // _SYNCSOCKET_H
+#endif // _SYNCCOMMAND_H