From 4223dcb5e90d48657902da8a94ad177b83bd7dfe Mon Sep 17 00:00:00 2001 From: Bernard Normier Date: Thu, 17 May 2007 01:02:32 +0000 Subject: Split DispatchStatus into dispatch status and reply status (bug #2150) --- cpp/src/Ice/IncomingAsync.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'cpp/src/Ice/IncomingAsync.cpp') diff --git a/cpp/src/Ice/IncomingAsync.cpp b/cpp/src/Ice/IncomingAsync.cpp index 92412a9759f..70a9218e6fc 100644 --- a/cpp/src/Ice/IncomingAsync.cpp +++ b/cpp/src/Ice/IncomingAsync.cpp @@ -15,6 +15,7 @@ #include #include #include +#include #include using namespace std; @@ -74,11 +75,11 @@ IceInternal::IncomingAsync::__response(bool ok) if(ok) { - *(_os.b.begin() + headerSize + 4) = static_cast(DispatchOK); + *(_os.b.begin() + headerSize + 4) = replyOK; } else { - *(_os.b.begin() + headerSize + 4) = static_cast(DispatchUserException); + *(_os.b.begin() + headerSize + 4) = replyUserException; } _connection->sendResponse(&_os, _compress); -- cgit v1.2.3