diff options
Diffstat (limited to 'cpp/demo/Ice/hello/Client.cpp')
-rw-r--r-- | cpp/demo/Ice/hello/Client.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/demo/Ice/hello/Client.cpp b/cpp/demo/Ice/hello/Client.cpp index 48234f2ae00..a0819f5dd46 100644 --- a/cpp/demo/Ice/hello/Client.cpp +++ b/cpp/demo/Ice/hello/Client.cpp @@ -44,7 +44,7 @@ run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator) } Ice::ObjectPrx base = communicator->stringToProxy(ref); - HelloPrx twoway = HelloPrx::checkedCast(base); + HelloPrx twoway = HelloPrx::checkedCast(base->ice_twoway()->ice_timeout(-1)->ice_secure(false)); if (!twoway) { cerr << argv[0] << ": invalid object reference" << endl; |