summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2013-03-08 21:56:10 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2013-03-08 21:56:10 +0100
commit56255a15a35650098c2358107e2dc4f21df43241 (patch)
treef8ada2f51a6fec44c287b178ef5ff732fa9e260b
parentef3db76e371cac0bba4d0a9740a3f367f48f32ab (diff)
downloadfastd-56255a15a35650098c2358107e2dc4f21df43241.tar
fastd-56255a15a35650098c2358107e2dc4f21df43241.zip
Really fix adding new peers from a peer dir
-rw-r--r--src/config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config.c b/src/config.c
index 26e385f..1789723 100644
--- a/src/config.c
+++ b/src/config.c
@@ -1007,10 +1007,10 @@ static void peer_dirs_handle_new_peers(fastd_context_t *ctx, fastd_peer_config_t
peer->next = *peers;
*peers = new_peers;
+ return;
}
}
-
void fastd_config_load_peer_dirs(fastd_context_t *ctx, fastd_config_t *conf) {
fastd_config_t temp_conf;
temp_conf.peer_group = conf->peer_group;