Variadic templates for RPCs
[invirt/third/libt4.git] / config.cc
index 5127cb2..96e6cd7 100644 (file)
--- a/config.cc
+++ b/config.cc
@@ -298,8 +298,7 @@ config::doheartbeat(const std::string &m)
         ml.unlock();
         rpcc *cl = h.safebind();
         if (cl) {
-            ret = cl->call(paxos_protocol::heartbeat, me, vid, r,
-                                         rpcc::to(1000));
+            ret = cl->call_timeout(paxos_protocol::heartbeat, rpcc::to(1000), r, me, vid);
         }
         ml.lock();
     }