diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-04-21 20:02:43 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-04-21 20:02:43 +0200 |
commit | 505f97771ab63e32b82592a952ae9cf53adf86b9 (patch) | |
tree | cb57c1d792aadcfe771cabef7471f61da5a0d955 /src/protocols | |
parent | 175685ed5fbc0db3a259f9cccb30d0a0be74ad30 (diff) | |
download | fastd-505f97771ab63e32b82592a952ae9cf53adf86b9.tar fastd-505f97771ab63e32b82592a952ae9cf53adf86b9.zip |
Remove vector of new temporary peers
The new poll code has made this second peer list obsolete.
Diffstat (limited to 'src/protocols')
-rw-r--r-- | src/protocols/ec25519_fhmqvc/handshake.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/protocols/ec25519_fhmqvc/handshake.c b/src/protocols/ec25519_fhmqvc/handshake.c index df53157..f3a697d 100644 --- a/src/protocols/ec25519_fhmqvc/handshake.c +++ b/src/protocols/ec25519_fhmqvc/handshake.c @@ -499,7 +499,7 @@ static inline fastd_peer_t* add_temporary(const fastd_peer_address_t *addr, cons return NULL; } - fastd_peer_t *peer = fastd_peer_add_temporary(); + fastd_peer_t *peer = fastd_peer_add(NULL); peer->protocol_config = malloc(sizeof(fastd_protocol_peer_config_t)); memcpy(&peer->protocol_config->public_key, key, PUBLICKEYBYTES); |