Changeset 98

Show
Ignore:
Timestamp:
21/10/08 10:29:07 (3 months ago)
Author:
smoku
Message:

Using session_timeout() to recconect to another server on connection closed by server

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • jggtrans/src/sessions.c

    r96 r98  
    490490                case GG_EVENT_DISCONNECT: 
    491491                        g_warning(N_("Server closed connection of %s, GGid: %i"),s->jid,s->ggs->uin); 
    492                         session_broken(s); 
     492                        session_timeout((gpointer) s); 
    493493                        gg_event_free(event); 
    494494                        return FALSE;