diff options
Diffstat (limited to 'examples/Misc')
-rw-r--r-- | examples/Misc/test_dump.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/Misc/test_dump.cpp b/examples/Misc/test_dump.cpp index 994cd204c7b..4428f65c4cd 100644 --- a/examples/Misc/test_dump.cpp +++ b/examples/Misc/test_dump.cpp @@ -1,6 +1,6 @@ -// The following code illustrates how the ACE_Dumpable mechanisms are // $Id$ +// The following code illustrates how the ACE_Dumpable mechanisms are // integrated into ACE components like the SOCK_Acceptor and // SOCK_Stream. @@ -13,7 +13,7 @@ public: ~SOCK (void) { ACE_REMOVE_OBJECT; } void dump (void) const { - cerr << "hello from SOCK = " << (u_long) this << endl; + ACE_OS::fprintf (stderr, "hello from SOCK = %lu\n", (u_long) this); } // ... @@ -26,7 +26,7 @@ public: ~SOCK_Acceptor (void) { ACE_REMOVE_OBJECT; } void dump (void) const { - cerr << "hello from SOCK_Acceptor = " << (u_long) this << endl; + ACE_OS::fprintf (stderr, "hello from SOCK_Acceptor = %lu\n", (u_long) this); } // ... @@ -39,7 +39,7 @@ public: ~SOCK_Stream (void) { ACE_REMOVE_OBJECT; } void dump (void) const { - cerr << "hello from SOCK_Stream = " << (u_long) this << endl; + ACE_OS::fprintf (stderr, "hello from SOCK_Stream = %lu\n", (u_long) this); } // ... |