summaryrefslogtreecommitdiffstats
path: root/network
diff options
context:
space:
mode:
authorClaudio Takahasi <claudio.takahasi@openbossa.org>2007-04-16 13:57:46 +0000
committerClaudio Takahasi <claudio.takahasi@openbossa.org>2007-04-16 13:57:46 +0000
commit04f62adc118d1049e0aa2de19653004d4ccdf4b8 (patch)
tree129c59060fe6b1668a004016d3c5a04c59c37819 /network
parent8c599674509651cc8e68d12ba21423dbf13305d9 (diff)
network: missing assign src and path on server_register_from_file
Diffstat (limited to 'network')
-rw-r--r--network/server.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/network/server.c b/network/server.c
index f5a4b7c3..1eeddb82 100644
--- a/network/server.c
+++ b/network/server.c
@@ -1061,6 +1061,8 @@ int server_register_from_file(DBusConnection *conn, const char *path,
return -1;
}
+ bacpy(&ns->src, src);
+ ns->path = g_strdup(path);
ns->id = id;
ns->name = textfile_get(filename, "name");
if (!ns->name) {