Changeset 393
- Timestamp:
- Apr 6, 2006 9:08:35 PM (19 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip-apps/src/samples/siprtp.c
r392 r393 1412 1412 pj_gettimeofday(&now); 1413 1413 PJ_TIME_VAL_SUB(now, audio->rtcp.stat.rx.update); 1414 sprintf(last_update, "%02 dh:%02dm:%02d.%03ds ago",1414 sprintf(last_update, "%02ldh:%02ldm:%02ld.%03lds ago", 1415 1415 now.sec / 3600, 1416 1416 (now.sec % 3600) / 60, … … 1455 1455 pj_gettimeofday(&now); 1456 1456 PJ_TIME_VAL_SUB(now, audio->rtcp.stat.tx.update); 1457 sprintf(last_update, "%02 dh:%02dm:%02d.%03ds ago",1457 sprintf(last_update, "%02ldh:%02ldm:%02ld.%03lds ago", 1458 1458 now.sec / 3600, 1459 1459 (now.sec % 3600) / 60, -
pjproject/trunk/pjsip-apps/src/samples/util.h
r368 r393 1 1 2 #include <stdlib.h> /* strtol() */ 2 3 3 4 /* Util to display the error message for the specified error code */ -
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_settings.c
r390 r393 685 685 pj_gettimeofday(&now); 686 686 PJ_TIME_VAL_SUB(now, stat.rx.update); 687 sprintf(last_update, "%02 dh:%02dm:%02d.%03ds ago",687 sprintf(last_update, "%02ldh:%02ldm:%02ld.%03lds ago", 688 688 now.sec / 3600, 689 689 (now.sec % 3600) / 60, … … 730 730 pj_gettimeofday(&now); 731 731 PJ_TIME_VAL_SUB(now, stat.tx.update); 732 sprintf(last_update, "%02 dh:%02dm:%02d.%03ds ago",732 sprintf(last_update, "%02ldh:%02ldm:%02ld.%03lds ago", 733 733 now.sec / 3600, 734 734 (now.sec % 3600) / 60,
Note: See TracChangeset
for help on using the changeset viewer.