summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2009-03-13 15:49:06 +0000
committerBenny Prijono <bennylp@teluu.com>2009-03-13 15:49:06 +0000
commit85e2aea68a386809113d6a54d873920cc06594d0 (patch)
tree21b0a24d36b4ca56b5b9e589a6c48f5750ee5372
parent917b8cc5871f112cf446b6c89b1c73332aa139fb (diff)
Documentation error for pj_timer_heap_poll(): if no timer exists, the second part of timeval will be filled with PJ_MAXINT32 and not -1. Thanks Phil Torre for the report
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2512 74dad513-b988-da41-8d7b-12977e46ad98
-rw-r--r--pjlib/include/pj/timer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/pjlib/include/pj/timer.h b/pjlib/include/pj/timer.h
index a8b3eb6e..dbcae718 100644
--- a/pjlib/include/pj/timer.h
+++ b/pjlib/include/pj/timer.h
@@ -258,8 +258,8 @@ PJ_DECL(pj_status_t) pj_timer_heap_earliest_time( pj_timer_heap_t *ht,
*
* @param ht The timer heap.
* @param next_delay If this parameter is not NULL, it will be filled up with
- * the time delay until the next timer elapsed, or -1 in
- * the sec part if no entry exist.
+ * the time delay until the next timer elapsed, or
+ * PJ_MAXINT32 in the sec part if no entry exist.
*
* @return The number of timers expired.
*/