diff options
author | Benny Prijono <bennylp@teluu.com> | 2007-05-03 19:56:21 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2007-05-03 19:56:21 +0000 |
commit | 0a2d5c3cd9d32c77fcf23976736324ebb0565d44 (patch) | |
tree | bebc99d373b81095046eda50cc6383040beb8835 /pjlib/src/pj/timer_symbian.cpp | |
parent | abb1aee315f44c03cc3da3627a93651cdd9ca15e (diff) |
Misc Symbian fixes, looks good
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1248 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjlib/src/pj/timer_symbian.cpp')
-rw-r--r-- | pjlib/src/pj/timer_symbian.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pjlib/src/pj/timer_symbian.cpp b/pjlib/src/pj/timer_symbian.cpp index 398f7722..eaf4f9ed 100644 --- a/pjlib/src/pj/timer_symbian.cpp +++ b/pjlib/src/pj/timer_symbian.cpp @@ -88,7 +88,11 @@ void CPjTimerEntry::ConstructL(const pj_time_val *delay) rtimer_.CreateLocal(); CActiveScheduler::Add(this); - rtimer_.After(iStatus, PJ_TIME_VAL_MSEC(*delay) * 1000); + pj_int32_t interval = PJ_TIME_VAL_MSEC(*delay) * 1000; + if (interval < 0) { + interval = 0; + } + rtimer_.After(iStatus, interval); SetActive(); } |