diff options
author | Claudio Takahasi <claudio.takahasi@openbossa.org> | 2007-04-16 19:41:59 +0000 |
---|---|---|
committer | Claudio Takahasi <claudio.takahasi@openbossa.org> | 2007-04-16 19:41:59 +0000 |
commit | d3d1ce6e2bc9ecbfb70b5d306e419750ba0936b6 (patch) | |
tree | e8606ac5a3eaf9762ab10c3355b86c1fe254bfd7 /network/manager.c | |
parent | d2692a02cf86935b4c96198eff694a01c3001890 (diff) |
network: missing append registered connection paths to the list
Diffstat (limited to 'network/manager.c')
-rw-r--r-- | network/manager.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/network/manager.c b/network/manager.c index 88dc21e5..95699d39 100644 --- a/network/manager.c +++ b/network/manager.c @@ -656,7 +656,11 @@ static void parse_stored_connection(char *key, char *value, void *data) return; } - connection_register(connection, path, src, &dst, id, name, ptr); + if (connection_register(connection, path, src, + &dst, id, name, ptr) == 0) { + connection_paths = g_slist_append(connection_paths, + g_strdup(path)); + } g_free(name); } |