diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2016-02-22 15:48:33 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2016-02-22 15:48:33 +0100 |
commit | 29894cc8d155188e057451cf58cc686a9ad0d1c6 (patch) | |
tree | 448387bd59de6562f5e92308018945e85610d4f5 | |
parent | 96c9ba0f09db026ec361b4d4d3a1fbf1f57bdc06 (diff) | |
download | fastd-29894cc8d155188e057451cf58cc686a9ad0d1c6.tar fastd-29894cc8d155188e057451cf58cc686a9ad0d1c6.zip |
peer: remove dead code in fastd_peer_reset_socket()
-rw-r--r-- | src/peer.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -251,9 +251,6 @@ void fastd_peer_reset_socket(fastd_peer_t *peer) { else peer->sock = fastd_socket_open(peer, AF_INET6); } - - if (!peer->sock || !fastd_peer_is_socket_dynamic(peer)) - return; } /** Schedules the peer maintenance task (or removes the scheduled task if there's nothing to do) */ |