diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2013-12-23 22:53:10 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2013-12-23 22:53:10 +0100 |
commit | 6bcbf234b143b5f8db9ae86b3ec51f6e22bfdb40 (patch) | |
tree | 31179d120ee62df94eb58e35af22efa42bda7844 /src/fastd.c | |
parent | 41cf6b6ef4e89a72a8390b5689f03796c3400bad (diff) | |
download | fastd-6bcbf234b143b5f8db9ae86b3ec51f6e22bfdb40.tar fastd-6bcbf234b143b5f8db9ae86b3ec51f6e22bfdb40.zip |
Remove a pointless assert
Diffstat (limited to 'src/fastd.c')
-rw-r--r-- | src/fastd.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/fastd.c b/src/fastd.c index 8d82bdb..2ea98f2 100644 --- a/src/fastd.c +++ b/src/fastd.c @@ -409,9 +409,6 @@ static inline void update_time(fastd_context_t *ctx) { static void send_handshake(fastd_context_t *ctx, fastd_peer_t *peer) { if (!fastd_peer_is_established(peer)) { - if (!peer->next_remote) - exit_bug(ctx, "send_handshake: no remote"); - fastd_peer_claim_address(ctx, peer, NULL, NULL, &peer->next_remote->addresses[peer->next_remote->current_address]); fastd_peer_reset_socket(ctx, peer); } |