diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2013-03-08 20:28:31 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2013-03-08 20:28:31 +0100 |
commit | 8b960550883e65850402e3c81c24f22e740dbd10 (patch) | |
tree | c602975d1c61583ca112b939c14da41ecadeffc5 /src | |
parent | 11f1c9adcaeb4077c4fdab120eb6197795a2a872 (diff) | |
download | fastd-8b960550883e65850402e3c81c24f22e740dbd10.tar fastd-8b960550883e65850402e3c81c24f22e740dbd10.zip |
Don't lose all but one peer configured in peer dirs after loading
This regression was introduced in 4e9b2a8819c7062ad052cd6c549db1d0fbed001d.
Diffstat (limited to 'src')
-rw-r--r-- | src/config.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/config.c b/src/config.c index 0febd15..63527b7 100644 --- a/src/config.c +++ b/src/config.c @@ -1006,8 +1006,9 @@ static void peer_dirs_handle_new_peers(fastd_context_t *ctx, fastd_peer_config_t continue; peer->next = *peers; - *peers = peer; } + + *peers = new_peers; } |