Changeset 4572
- Timestamp:
- Jul 22, 2013 9:17:30 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsip-simple/evsub.c
r4447 r4572 33 33 #include <pj/os.h> 34 34 #include <pj/pool.h> 35 #include <pj/rand.h> 35 36 #include <pj/string.h> 36 37 … … 1750 1751 sub->expires->ivalue - TIME_UAC_REFRESH : sub->expires->ivalue; 1751 1752 1753 /* Reduce timeout by about 1 - 10 secs (randomized) */ 1754 if (timeout > 10) 1755 timeout += -10 + (pj_rand() % 10); 1756 1752 1757 PJ_LOG(5,(sub->obj_name, "Will refresh in %d seconds", 1753 1758 timeout));
Note: See TracChangeset
for help on using the changeset viewer.