projects
/
platform
/
upstream
/
ofono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16071b5
)
Restore GAtChat disconnect handling when resuming a chat session
author
Marcel Holtmann
<marcel@holtmann.org>
Mon, 7 Jun 2010 09:18:39 +0000
(
02:18
-0700)
committer
Marcel Holtmann
<marcel@holtmann.org>
Mon, 7 Jun 2010 09:18:39 +0000
(
02:18
-0700)
gatchat/gatchat.c
patch
|
blob
|
history
diff --git
a/gatchat/gatchat.c
b/gatchat/gatchat.c
index
3f238a2
..
9456f00
100644
(file)
--- a/
gatchat/gatchat.c
+++ b/
gatchat/gatchat.c
@@
-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);