Changeset 5170 for pjproject/trunk/pjlib/src/pjlib-test/timer.c
- Timestamp:
- Aug 25, 2015 8:45:46 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib/src/pjlib-test/timer.c
r4537 r5170 59 59 pj_timer_heap_t *timer; 60 60 pj_time_val delay; 61 pj_status_t rc; int err=0; 61 pj_status_t status; 62 int err=0; 62 63 pj_size_t size; 63 64 unsigned count; … … 78 79 entry[i].cb = &timer_callback; 79 80 } 80 rc= pj_timer_heap_create(pool, MAX_COUNT, &timer);81 if ( rc!= PJ_SUCCESS) {82 app_perror("...error: unable to create timer heap", rc);81 status = pj_timer_heap_create(pool, MAX_COUNT, &timer); 82 if (status != PJ_SUCCESS) { 83 app_perror("...error: unable to create timer heap", status); 83 84 return -30; 84 85 }
Note: See TracChangeset
for help on using the changeset viewer.