rail_orders.c: Fix wrong callback call on server handshake ex recv (#5345)

This commit is contained in:
Mati Shabtay
2019-04-25 11:55:24 +03:00
committed by akallabeth
parent 236c7918cb
commit e1ef302a8d

View File

@@ -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;