summaryrefslogtreecommitdiffstats
path: root/network/server.c
diff options
context:
space:
mode:
authorClaudio Takahasi <claudio.takahasi@openbossa.org>2007-08-29 14:18:01 +0000
committerClaudio Takahasi <claudio.takahasi@openbossa.org>2007-08-29 14:18:01 +0000
commit1dfdcaaccb924c36d6ab8380fb52ea5a9691a872 (patch)
tree6ac0c8be658ed5988a829fb7835a24bbe754cf14 /network/server.c
parent170d40808c0307040cf01a686e57684888e13b26 (diff)
network: minor - keep server socket always listenning
Diffstat (limited to 'network/server.c')
-rw-r--r--network/server.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/network/server.c b/network/server.c
index 4c5658f6..b8021436 100644
--- a/network/server.c
+++ b/network/server.c
@@ -798,9 +798,6 @@ static int record_and_listen(struct network_server *ns)
ns->record_id = add_server_record(ns);
if (!ns->record_id) {
error("Unable to register the server(0x%x) service record", ns->id);
- g_io_channel_close(bnep_io);
- g_io_channel_unref(bnep_io);
- bnep_io = NULL;
return -EIO;
}