summaryrefslogtreecommitdiffstats
path: root/network
diff options
context:
space:
mode:
authorClaudio Takahasi <claudio.takahasi@openbossa.org>2007-04-23 14:19:56 +0000
committerClaudio Takahasi <claudio.takahasi@openbossa.org>2007-04-23 14:19:56 +0000
commit71889d8638c31b0274e0a279b7879cd96aef7a50 (patch)
tree203bf45390e03571a934eb9ba9bddea54c04c00b /network
parentc21f025d74b88463759c4e383fe93000f351913e (diff)
network: missing set the D-Bus connection when creating a server from file
Diffstat (limited to 'network')
-rw-r--r--network/server.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/network/server.c b/network/server.c
index f6f54474..17534f9c 100644
--- a/network/server.c
+++ b/network/server.c
@@ -1117,6 +1117,7 @@ int server_register_from_file(DBusConnection *conn, const char *path,
bacpy(&ns->src, src);
ns->path = g_strdup(path);
ns->id = id;
+ ns->conn = dbus_connection_ref(conn);
ns->name = textfile_get(filename, "name");
if (!ns->name) {
/* Name is mandatory */