Restore GAtChat disconnect handling when resuming a chat session

This commit is contained in:
Marcel Holtmann 2010-06-07 02:18:39 -07:00
parent 16071b5324
commit 6178173160
1 changed files with 2 additions and 0 deletions

View File

@ -913,6 +913,8 @@ void g_at_chat_resume(GAtChat *chat)
chat->suspended = FALSE;
g_at_io_set_disconnect_function(chat->io, io_disconnect, chat);
g_at_io_set_debug(chat->io, chat->debugf, chat->debug_data);
g_at_io_set_read_handler(chat->io, new_bytes, chat);