Revert "Use a variable on the stack to not have a temporary in the call"
[ACE_TAO.git] / TAO / orbsvcs / tests / Security / Crash_Test / test_i.cpp
blob7cfc74c06c0a0f16ce1c47be87e37b73b3face7f
1 #include "test_i.h"
3 #if !defined(__ACE_INLINE__)
4 #include "test_i.inl"
5 #endif /* __ACE_INLINE__ */
7 void
8 Simple_Server_i::send_line (const char *)
11 static unsigned long count = 0;
13 count++;
15 if (count == 1)
17 ACE_DEBUG ((LM_DEBUG,
18 "Executed 128 requests. Now it's time to crash!\n"));
19 ACE_OS::abort ();
23 // ACE_DEBUG ((LM_DEBUG, "%s\n", line));
26 void
27 Simple_Server_i::shutdown ()
29 this->orb_->shutdown (false);