summaryrefslogtreecommitdiff
path: root/TAO/examples/Advanced/ch_21/server.cpp
diff options
context:
space:
mode:
authorAbdullah Sowayan <sowayan@users.noreply.github.com>2007-08-11 17:28:39 +0000
committerAbdullah Sowayan <sowayan@users.noreply.github.com>2007-08-11 17:28:39 +0000
commit94c11d1ea99d1b8bbb135befc240b4091994b00a (patch)
treeb58b7368f385b9a8f9e6b6b883012ede96067ea4 /TAO/examples/Advanced/ch_21/server.cpp
parent12b8ba0a851c2d702df8d2a6e54958a729409e5c (diff)
downloadATCD-94c11d1ea99d1b8bbb135befc240b4091994b00a.tar.gz
Sat Aug 11 17:20:15 UTC 2007 Abdullah Sowayan <abdullah.sowayan@lmco.com>
Diffstat (limited to 'TAO/examples/Advanced/ch_21/server.cpp')
-rw-r--r--TAO/examples/Advanced/ch_21/server.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/TAO/examples/Advanced/ch_21/server.cpp b/TAO/examples/Advanced/ch_21/server.cpp
index 7bf9f78a57a..c6f72bf0346 100644
--- a/TAO/examples/Advanced/ch_21/server.cpp
+++ b/TAO/examples/Advanced/ch_21/server.cpp
@@ -596,7 +596,7 @@ preinvoke (
const PortableServer::ObjectId & oid,
PortableServer::POA_ptr /* poa */ ,
const char * operation,
- void * & /* cookie */
+ void * & /* cookie */
)
{
// Convert object id into asset number.
@@ -667,7 +667,7 @@ preinvoke (
//----------------------------------------------------------------
int
-main (int argc, char **argv)
+ACE_TMAIN(int argc, ACE_TCHAR *argv[])
{
try {
// Initialize orb
@@ -737,8 +737,8 @@ main (int argc, char **argv)
orb->run ();
}
catch (const CORBA::Exception & e) {
- std::cerr << "Uncaught CORBA exception: "
- //<< e
+ std::cerr << "Uncaught CORBA exception: "
+ //<< e
<< std::endl;
return 1;
}