diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2013-03-08 21:26:40 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2013-03-08 21:26:40 +0100 |
commit | ef3db76e371cac0bba4d0a9740a3f367f48f32ab (patch) | |
tree | 13cb44be4fa9d1a9da5a0175be8914c7f8ca20c8 /src | |
parent | 8b960550883e65850402e3c81c24f22e740dbd10 (diff) | |
download | fastd-ef3db76e371cac0bba4d0a9740a3f367f48f32ab.tar fastd-ef3db76e371cac0bba4d0a9740a3f367f48f32ab.zip |
Don't forget all peers when no peers are configured in peer dirs
Diffstat (limited to 'src')
-rw-r--r-- | src/config.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/config.c b/src/config.c index 63527b7..26e385f 100644 --- a/src/config.c +++ b/src/config.c @@ -1006,9 +1006,8 @@ static void peer_dirs_handle_new_peers(fastd_context_t *ctx, fastd_peer_config_t continue; peer->next = *peers; + *peers = new_peers; } - - *peers = new_peers; } |