summaryrefslogtreecommitdiffstats
path: root/src/fastd.c
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2012-11-05 23:37:01 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2012-11-05 23:37:01 +0100
commitf7244b9309f5759476284bda62f66769cc40c3b7 (patch)
tree479c4a20ee65fa337578bf0e5dddc263dea9e47b /src/fastd.c
parent65e60edefc9c9095244b5ee19d302607532174bf (diff)
downloadfastd-f7244b9309f5759476284bda62f66769cc40c3b7.tar
fastd-f7244b9309f5759476284bda62f66769cc40c3b7.zip
Don't inline send_handshake
Diffstat (limited to 'src/fastd.c')
-rw-r--r--src/fastd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fastd.c b/src/fastd.c
index 9e9b225..d2bc392 100644
--- a/src/fastd.c
+++ b/src/fastd.c
@@ -618,7 +618,7 @@ static inline void update_time(fastd_context *ctx) {
clock_gettime(CLOCK_MONOTONIC, &ctx->now);
}
-static inline void send_handshake(fastd_context *ctx, fastd_peer *peer) {
+static void send_handshake(fastd_context *ctx, fastd_peer *peer) {
if (fastd_peer_may_connect(ctx, peer)) {
if (!fastd_peer_is_established(peer))
fastd_peer_reset_socket(ctx, peer);