Changeset 690
- Timestamp:
- 07/19/06 10:03:05 (2 years ago)
- Files:
-
- trunk/src/sessions.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/sessions.c
r687 r690 192 192 193 193 server=g_new(GgServer, 1); 194 inet_aton("217.17.4 1.85", &server->addr);194 inet_aton("217.17.45.143", &server->addr); 195 195 server->port=8074; 196 196 server->tls=0; … … 428 428 debug(L_("Checking error conditions...")); 429 429 if (condition&(G_IO_ERR|G_IO_NVAL)){ 430 if (condition&G_IO_ERR) g_warning(N_("Error on connection for %s "),s->jid);430 if (condition&G_IO_ERR) g_warning(N_("Error on connection for %s ,[GGnumber: %i]"),s->jid,s->ggs->uin); 431 431 if (condition&G_IO_HUP){ 432 g_warning(N_("Hangup on connection for %s "),s->jid);432 g_warning(N_("Hangup on connection for %s ,[GGnumber: %i]"),s->jid,s->ggs->uin); 433 433 s->current_server=g_list_next(s->current_server); 434 434 if(!s->connected && s->current_server!=NULL){ … … 446 446 event=gg_watch_fd(s->ggs); 447 447 if (!event){ 448 g_warning(N_("Connection broken. Session of %s "),s->jid);448 g_warning(N_("Connection broken. Session of %s ,[GGnumber: %i]"),s->jid,s->ggs->uin); 449 449 session_broken(s); 450 450 return FALSE; … … 453 453 switch(event->type){ 454 454 case GG_EVENT_DISCONNECT: 455 g_warning(N_("Server closed connection of %s "),s->jid);455 g_warning(N_("Server closed connection of %s, [GGnumber: %i]"),s->jid,s->ggs->uin); 456 456 session_broken(s); 457 457 gg_event_free(event);
