Variadic templates for RPCs
[invirt/third/libt4.git] / rsmtest_client.cc
index e27e8e5..c61194e 100644 (file)
@@ -22,7 +22,7 @@ int
 rsmtest_client::net_repair(int heal)
 {
     int r;
-    int ret = cl->call(rsm_test_protocol::net_repair, heal, r);
+    int ret = cl->call(rsm_test_protocol::net_repair, r, heal);
     VERIFY (ret == rsm_test_protocol::OK);
     return r;
 }
@@ -31,7 +31,7 @@ int
 rsmtest_client::breakpoint(int b)
 {
     int r;
-    int ret = cl->call(rsm_test_protocol::breakpoint, b, r);
+    int ret = cl->call(rsm_test_protocol::breakpoint, r, b);
     VERIFY (ret == rsm_test_protocol::OK);
     return r;
 }