summaryrefslogtreecommitdiffstats
path: root/src/protocols
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2014-04-21 20:02:43 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2014-04-21 20:02:43 +0200
commit505f97771ab63e32b82592a952ae9cf53adf86b9 (patch)
treecb57c1d792aadcfe771cabef7471f61da5a0d955 /src/protocols
parent175685ed5fbc0db3a259f9cccb30d0a0be74ad30 (diff)
downloadfastd-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.c2
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);