From e1ef302a8da2e1efef44e1189f37bdbb545135c7 Mon Sep 17 00:00:00 2001 From: Mati Shabtay <35010736+m4ntis@users.noreply.github.com> Date: Thu, 25 Apr 2019 11:55:24 +0300 Subject: [PATCH] rail_orders.c: Fix wrong callback call on server handshake ex recv (#5345) --- channels/rail/client/rail_orders.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/channels/rail/client/rail_orders.c b/channels/rail/client/rail_orders.c index 7e6cf42..b474de6 100644 --- a/channels/rail/client/rail_orders.c +++ b/channels/rail/client/rail_orders.c @@ -538,10 +538,10 @@ static UINT rail_recv_handshake_ex_order(railPlugin* rail, RAIL_HANDSHAKE_EX_ORD if (context->custom) { - IFCALLRET(context->ClientHandshakeEx, error, context, handshakeEx); + IFCALLRET(context->ServerHandshakeEx, error, context, handshakeEx); if (error) - WLog_ERR(TAG, "context.ClientHandshakeEx failed with error %"PRIu32"", error); + WLog_ERR(TAG, "context.ServerHandshakeEx failed with error %"PRIu32"", error); } return error; -- 2.7.4