summaryrefslogtreecommitdiffstats
path: root/src/handshake.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/handshake.c')
-rw-r--r--src/handshake.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/handshake.c b/src/handshake.c
index 5553eb9..c301e4e 100644
--- a/src/handshake.c
+++ b/src/handshake.c
@@ -210,7 +210,7 @@ void fastd_handshake_handle(fastd_context *ctx, fastd_peer *peer, fastd_buffer b
fastd_handshake_add_uint8(ctx, &reply_buffer, RECORD_REPLY_CODE, reply_code);
fastd_handshake_add_uint8(ctx, &reply_buffer, RECORD_ERROR_DETAIL, error_detail);
- fastd_task_put_send_handshake(ctx, peer, reply_buffer);
+ fastd_send_handshake(ctx, peer, reply_buffer);
}
else {
ctx->conf->protocol->handshake_handle(ctx, peer, &handshake);