- Timestamp:
- Nov 13, 2012 8:46:42 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib-util/src/pjlib-util/stun_simple_client.c
r4224 r4297 194 194 195 195 /* Calculate time of next retransmission. */ 196 pj_getti meofday(&next_tx);196 pj_gettickcount(&next_tx); 197 197 next_tx.sec += (stun_timer[send_cnt]/1000); 198 198 next_tx.msec += (stun_timer[send_cnt]%1000); 199 199 pj_time_val_normalize(&next_tx); 200 200 201 for (pj_getti meofday(&now), select_rc=1;201 for (pj_gettickcount(&now), select_rc=1; 202 202 status==PJ_SUCCESS && select_rc>=1 && wait_resp>0 203 203 && PJ_TIME_VAL_LT(now, next_tx); 204 pj_getti meofday(&now))204 pj_gettickcount(&now)) 205 205 { 206 206 pj_time_val timeout;
Note: See TracChangeset
for help on using the changeset viewer.