summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhuangming <huangminghuang@users.noreply.github.com>2003-12-05 02:23:01 +0000
committerhuangming <huangminghuang@users.noreply.github.com>2003-12-05 02:23:01 +0000
commitc00407dcebffb3304a53e273aa33a6fe75f7af26 (patch)
tree9d9866a3a2edb6faf4f0ecb320402c80a3cd968b
parentf444cb80d8b453adde1495eecedda025382f7ca0 (diff)
downloadATCD-c00407dcebffb3304a53e273aa33a6fe75f7af26.tar.gz
*** empty log message ***
-rw-r--r--TAO/orbsvcs/FTRT_Event_Service/Event_Service/Crash_Injector.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/TAO/orbsvcs/FTRT_Event_Service/Event_Service/Crash_Injector.cpp b/TAO/orbsvcs/FTRT_Event_Service/Event_Service/Crash_Injector.cpp
index 93d43bb38b8..fea77f7b91d 100644
--- a/TAO/orbsvcs/FTRT_Event_Service/Event_Service/Crash_Injector.cpp
+++ b/TAO/orbsvcs/FTRT_Event_Service/Event_Service/Crash_Injector.cpp
@@ -119,11 +119,11 @@ void Crash_Injector::check_on_sending_reply(const char* operation)
void Crash_Injector::crash_timeout()
{
#ifndef WIN32
- if (time_to_crash > 0) {
+ if (time_to_crash_ > 0) {
signal(SIGALRM, &crash_handler);
struct itimerval in, out;
- in.it_value.tv_sec = time_to_crash/1000;
- in.it_value.tv_usec = (time_to_crash%1000)*1000;
+ in.it_value.tv_sec = time_to_crash_/1000;
+ in.it_value.tv_usec = (time_to_crash_%1000)*1000;
setitimer(ITIMER_REAL, &in, &out);
}
else