diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-05-25 00:20:05 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-05-25 00:20:05 +0200 |
commit | f34e51a1c3b98df2b7c8c7d7eb415a33f42f2d75 (patch) | |
tree | 0edd536548163077da4c22ce7785936a3f9c06a6 /src/receive.c | |
parent | 1b21919d544e30cec89259cfa9353e10852cfc82 (diff) | |
download | fastd-f34e51a1c3b98df2b7c8c7d7eb415a33f42f2d75.tar fastd-f34e51a1c3b98df2b7c8c7d7eb415a33f42f2d75.zip |
Make a few struct fields that are not supposed to be changed defines instead
Diffstat (limited to 'src/receive.c')
-rw-r--r-- | src/receive.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/receive.c b/src/receive.c index 8fd5bf8..9a528fe 100644 --- a/src/receive.c +++ b/src/receive.c @@ -99,7 +99,7 @@ static bool backoff_unknown(const fastd_peer_address_t *addr) { fastd_handshake_timeout_t *t = &ctx.unknown_handshakes[ctx.unknown_handshake_pos]; t->address = *addr; - t->timeout = fastd_in_seconds(conf.min_handshake_interval); + t->timeout = fastd_in_seconds(MIN_HANDSHAKE_INTERVAL); return false; } |