Changeset 48181f0
- Timestamp:
- 2008-02-29T00:49:43Z (17 years ago)
- Branches:
- master
- Children:
- 9fd7202
- Parents:
- acd9478
- Location:
- skype
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
skype/README
racd9478 r48181f0 238 238 communication is encrypted. 239 239 240 - Managing outgoing calls :240 - Managing outgoing calls (with call duration at the end): 241 241 242 242 * `account set skype/call nick` -
skype/skype.c
racd9478 r48181f0 83 83 skype_call_status call_status; 84 84 char *call_id; 85 char *call_duration; 85 86 /* Same for file transfers. */ 86 87 skype_filetransfer_status filetransfer_status; … … 599 600 sd->call_status = SKYPE_CALL_UNPLACED; 600 601 } 602 else if(!strncmp(info, "DURATION ", 9)) 603 { 604 if(sd->call_duration) 605 g_free(sd->call_duration); 606 sd->call_duration = g_strdup(info+9); 607 } 601 608 else if(!strncmp(info, "PARTNER_HANDLE ", 15)) 602 609 { … … 618 625 break; 619 626 case SKYPE_CALL_FINISHED: 620 imcb_log(ic, "You finished the call to the user %s.", info); 627 if(sd->call_duration) 628 { 629 imcb_log(ic, "You finished the call to the user %s (duration: %s seconds).", info, sd->call_duration); 630 } 631 else 632 { 633 imcb_log(ic, "You finished the call to the user %s.", info); 634 } 621 635 break; 622 636 default:
Note: See TracChangeset
for help on using the changeset viewer.