summaryrefslogtreecommitdiffstats
path: root/src/fastd.c
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2013-12-23 22:53:10 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2013-12-23 22:53:10 +0100
commit6bcbf234b143b5f8db9ae86b3ec51f6e22bfdb40 (patch)
tree31179d120ee62df94eb58e35af22efa42bda7844 /src/fastd.c
parent41cf6b6ef4e89a72a8390b5689f03796c3400bad (diff)
downloadfastd-6bcbf234b143b5f8db9ae86b3ec51f6e22bfdb40.tar
fastd-6bcbf234b143b5f8db9ae86b3ec51f6e22bfdb40.zip
Remove a pointless assert
Diffstat (limited to 'src/fastd.c')
-rw-r--r--src/fastd.c3
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);
}