diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-05-27 04:08:25 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-05-27 04:08:25 +0200 |
commit | 348f3844ecc41447336213c48234507d5276c4bf (patch) | |
tree | 2712ed67d8b07876db7c0b75a1835c60e358e4f2 /src | |
parent | 6a249659bf167aa8e7f72917e9c9f23ba9477e1c (diff) | |
download | fastd-348f3844ecc41447336213c48234507d5276c4bf.tar fastd-348f3844ecc41447336213c48234507d5276c4bf.zip |
peer: remove some dead code
Diffstat (limited to 'src')
-rw-r--r-- | src/peer.c | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -766,14 +766,6 @@ void fastd_peer_handle_handshake_queue(void) { fastd_resolve_peer(peer, next_remote); } -void fastd_peer_enable_temporary(fastd_peer_t *peer) { - if (peer->config) - exit_bug("trying to re-enable non-temporary peer"); - - VECTOR_ADD(ctx.peers, peer); - fastd_poll_add_peer(); -} - void fastd_peer_set_established(fastd_peer_t *peer) { if (fastd_peer_is_established(peer)) return; |