Changeset 84b045d for protocols/yahoo
- Timestamp:
- 2007-04-16T01:03:08Z (17 years ago)
- Branches:
- master
- Children:
- 6bbb939
- Parents:
- c2fb3809
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/yahoo/yahoo.c
rc2fb3809 r84b045d 123 123 static void byahoo_login( account_t *acc ) 124 124 { 125 struct im_connection *ic = imc _new( acc );125 struct im_connection *ic = imcb_new( acc ); 126 126 struct byahoo_data *yd = ic->proto_data = g_new0( struct byahoo_data, 1 ); 127 127 … … 129 129 yd->current_status = YAHOO_STATUS_AVAILABLE; 130 130 131 imc _log( ic, "Connecting" );131 imcb_log( ic, "Connecting" ); 132 132 yd->y2_id = yahoo_init( acc->user, acc->pass ); 133 133 yahoo_login( yd->y2_id, yd->current_status ); … … 163 163 { 164 164 /* Just make an URL and let the user fetch the info */ 165 imc _log(ic, "%s\n%s: %s%s", _("User Info"),165 imcb_log(ic, "%s\n%s: %s%s", _("User Info"), 166 166 _("For now, fetch yourself"), yahoo_get_profile_url(), 167 167 who); … … 510 510 if( succ == YAHOO_LOGIN_OK ) 511 511 { 512 imc _connected( ic );512 imcb_connected( ic ); 513 513 514 514 yd->logged_in = TRUE; … … 538 538 539 539 if( url && *url ) 540 imc _error( ic, "Error %d (%s). See %s for more information.", succ, errstr, url );540 imcb_error( ic, "Error %d (%s). See %s for more information.", succ, errstr, url ); 541 541 else 542 imc _error( ic, "Error %d (%s)", succ, errstr );542 imcb_error( ic, "Error %d (%s)", succ, errstr ); 543 543 544 544 imc_logout( ic, allow_reconnect ); … … 605 605 struct im_connection *ic = byahoo_get_ic_by_id( id ); 606 606 607 imc _log( ic, "Got a file transfer (file = %s) from %s. Ignoring for now due to lack of support.", fname, who );607 imcb_log( ic, "Got a file transfer (file = %s) from %s. Ignoring for now due to lack of support.", fname, who ); 608 608 } 609 609 … … 625 625 struct im_connection *ic = byahoo_get_ic_by_id( id ); 626 626 627 imc _log( ic, "Yahoo! system message: %s", msg );627 imcb_log( ic, "Yahoo! system message: %s", msg ); 628 628 } 629 629 … … 632 632 struct im_connection *ic = byahoo_get_ic_by_id( id ); 633 633 634 imc _log( ic, "Got a webcam invitation from %s. IRC+webcams is a no-no though...", from );634 imcb_log( ic, "Got a webcam invitation from %s. IRC+webcams is a no-no though...", from ); 635 635 } 636 636 … … 639 639 struct im_connection *ic = byahoo_get_ic_by_id( id ); 640 640 641 imc _error( ic, "%s", err );641 imcb_error( ic, "%s", err ); 642 642 643 643 if( fatal ) … … 803 803 g_snprintf( txt, 1024, "Got an invitation to chatroom %s from %s: %s", room, who, msg ); 804 804 805 do_ask_dialog( ic, txt, inv, byahoo_accept_conf, byahoo_reject_conf );805 imcb_ask( ic, txt, inv, byahoo_accept_conf, byahoo_reject_conf ); 806 806 } 807 807 … … 810 810 struct im_connection *ic = byahoo_get_ic_by_id( id ); 811 811 812 imc _log( ic, "Invite to chatroom %s rejected by %s: %s", room, who, msg );812 imcb_log( ic, "Invite to chatroom %s rejected by %s: %s", room, who, msg ); 813 813 } 814 814 … … 893 893 894 894 if( from && subj ) 895 imc _log( ic, "Received e-mail message from %s with subject `%s'", from, subj );895 imcb_log( ic, "Received e-mail message from %s with subject `%s'", from, subj ); 896 896 else if( cnt > 0 ) 897 imc _log( ic, "Received %d new e-mails", cnt );897 imcb_log( ic, "Received %d new e-mails", cnt ); 898 898 } 899 899
Note: See TracChangeset
for help on using the changeset viewer.