Explicit refcounting removed from connection object
[invirt/third/libt4.git] / handle.cc
index 5287a35..1cb5cc2 100644 (file)
--- a/handle.cc
+++ b/handle.cc
@@ -40,7 +40,7 @@ rpcc * handle::safebind() {
     // value to support the assumption.
     // 
     // With RPC_LOSSY=5, tests may fail due to delays and time outs.
-    int ret = cl->bind(rpcc::to(1000));
+    int ret = cl->bind(milliseconds(1000));
     if (ret < 0) {
         LOG("bind failure! " << h->m << " " << ret);
         delete cl;