summaryrefslogtreecommitdiffstats
path: root/src/handshake.c
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2012-04-14 16:59:54 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2012-04-14 16:59:54 +0200
commitb9054051b9bf232968dc52b4732a65381c6a0e5f (patch)
tree9c9eaf61dbde5a48f09e097ab8ee4ecad37e06e0 /src/handshake.c
parent74f2d0357f87a231e3782d3d8bd21853fb3524b2 (diff)
downloadfastd-b9054051b9bf232968dc52b4732a65381c6a0e5f.tar
fastd-b9054051b9bf232968dc52b4732a65381c6a0e5f.zip
Reduce task queue usage
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);