Changeset 605

Show
Ignore:
Timestamp:
07/22/05 18:45:26 (3 years ago)
Author:
jajcus
Message:

- do not try to close session iochannel twice

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/sessions.c

    r604 r605  
    682682        if (s->timeout_func) g_source_remove(s->timeout_func); 
    683683        if (s->io_watch) g_source_remove(s->io_watch); 
    684         if (s->ioch) g_io_channel_close(s->ioch); 
     684        if (s->ioch) { 
     685                g_io_channel_close(s->ioch); 
     686                s->ioch=NULL; 
     687        } 
    685688 
    686689        memset(&login_params,0,sizeof(login_params));