summaryrefslogtreecommitdiff
path: root/cpp/src/slice2cs/Gen.cpp
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2005-09-19 12:56:02 +0000
committerDwayne Boone <dwayne@zeroc.com>2005-09-19 12:56:02 +0000
commit3650aec01560a0a62873de0c89ad011344dca170 (patch)
tree54db2afe60a4f9296af9c81625ef39f5a03cdf14 /cpp/src/slice2cs/Gen.cpp
parentBug fixes (diff)
downloadice-3650aec01560a0a62873de0c89ad011344dca170.tar.bz2
ice-3650aec01560a0a62873de0c89ad011344dca170.tar.xz
ice-3650aec01560a0a62873de0c89ad011344dca170.zip
Bug 432 - unwanted OutgoingAync cleanup() if __response prompted retry.
Diffstat (limited to 'cpp/src/slice2cs/Gen.cpp')
-rwxr-xr-xcpp/src/slice2cs/Gen.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp/src/slice2cs/Gen.cpp b/cpp/src/slice2cs/Gen.cpp
index bd9132b0fe2..f4076043d09 100755
--- a/cpp/src/slice2cs/Gen.cpp
+++ b/cpp/src/slice2cs/Gen.cpp
@@ -4304,7 +4304,7 @@ Slice::Gen::AsyncVisitor::visitOperation(const OperationPtr& p)
_out << nl << "__send();";
_out << eb;
- _out << sp << nl << "protected override void __response(bool __ok)";
+ _out << sp << nl << "protected override bool __response(bool __ok)";
_out << sb;
for(q = outParams.begin(); q != outParams.end(); ++q)
{
@@ -4386,18 +4386,18 @@ Slice::Gen::AsyncVisitor::visitOperation(const OperationPtr& p)
_out << eb;
_out << nl << "catch(Ice.LocalException __ex)";
_out << sb;
- _out << nl << "__finished(__ex);";
- _out << nl << "return;";
+ _out << nl << "return __finished(__ex);";
_out << eb;
if(!throws.empty())
{
_out << nl << "catch(Ice.UserException __ex)";
_out << sb;
_out << nl << "ice_exception(__ex);";
- _out << nl << "return;";
+ _out << nl << "return false;";
_out << eb;
}
_out << nl << "ice_response" << spar << args << epar << ';';
+ _out << nl << "return false;";
_out << eb;
_out << eb;
}