Changeset 84b045d for protocols/jabber/jabber.c
- Timestamp:
- 2007-04-16T01:03:08Z (17 years ago)
- Branches:
- master
- Children:
- 6bbb939
- Parents:
- c2fb3809
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/jabber/jabber.c
rc2fb3809 r84b045d 59 59 static void jabber_login( account_t *acc ) 60 60 { 61 struct im_connection *ic = imc _new( acc );61 struct im_connection *ic = imcb_new( acc ); 62 62 struct jabber_data *jd = g_new0( struct jabber_data, 1 ); 63 63 struct ns_srv_reply *srv = NULL; … … 72 72 if( jd->server == NULL ) 73 73 { 74 imc _error( ic, "Incomplete account name (format it like <username@jabberserver.name>)" );74 imcb_error( ic, "Incomplete account name (format it like <username@jabberserver.name>)" ); 75 75 imc_logout( ic, FALSE ); 76 76 return; … … 159 159 connect_to = jd->server; 160 160 161 imc _log( ic, "Connecting" );161 imcb_log( ic, "Connecting" ); 162 162 163 163 if( set_getint( &acc->set, "port" ) < JABBER_PORT_MIN || 164 164 set_getint( &acc->set, "port" ) > JABBER_PORT_MAX ) 165 165 { 166 imc _log( ic, "Incorrect port number, must be in the %d-%d range",166 imcb_log( ic, "Incorrect port number, must be in the %d-%d range", 167 167 JABBER_PORT_MIN, JABBER_PORT_MAX ); 168 168 imc_logout( ic, FALSE ); … … 186 186 if( jd->fd == -1 ) 187 187 { 188 imc _error( ic, "Could not connect to server" );188 imcb_error( ic, "Could not connect to server" ); 189 189 imc_logout( ic, TRUE ); 190 190 } … … 285 285 while( bud ) 286 286 { 287 imc _log( ic, "Buddy %s (%d) information:\nAway state: %s\nAway message: %s",287 imcb_log( ic, "Buddy %s (%d) information:\nAway state: %s\nAway message: %s", 288 288 bud->full_jid, bud->priority, 289 289 bud->away_state ? bud->away_state->full_name : "(none)",
Note: See TracChangeset
for help on using the changeset viewer.