summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2009-02-19 15:58:15 -0300
committerLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2009-02-19 16:23:10 -0300
commit10d6858927cb3db0a06c42f41cdb5f3175082df3 (patch)
tree84b4164449b747d56c0d4b86b205f80744162fc5 /common
parente777c55aa7cd84fe63bcdee16acde8d1a293b928 (diff)
Make use of g_io_channel_shutdown instead of deprecated g_io_channel_close.
Diffstat (limited to 'common')
-rw-r--r--common/glib-helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/glib-helper.c b/common/glib-helper.c
index 29d72e56..e892a893 100644
--- a/common/glib-helper.c
+++ b/common/glib-helper.c
@@ -683,7 +683,7 @@ static gboolean hci_event_watch(GIOChannel *io,
failed:
cmd->cb(status, cmd->caller_data);
- g_io_channel_close(io);
+ g_io_channel_shutdown(io, TRUE, NULL);
return FALSE;
}