From 7dde2f1f4c8e5f2b06d67a362752bb529a816b68 Mon Sep 17 00:00:00 2001 From: Jim Schaad Date: Sun, 12 Jan 2020 12:31:09 -0800 Subject: [PATCH] Change variable name per review request Change the name of the variable from requestCode to request --- Source/MQTTnet/Adapter/MqttConnectingFailedException.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/MQTTnet/Adapter/MqttConnectingFailedException.cs b/Source/MQTTnet/Adapter/MqttConnectingFailedException.cs index 9a14999..ab49d93 100644 --- a/Source/MQTTnet/Adapter/MqttConnectingFailedException.cs +++ b/Source/MQTTnet/Adapter/MqttConnectingFailedException.cs @@ -5,10 +5,10 @@ namespace MQTTnet.Adapter { public class MqttConnectingFailedException : MqttCommunicationException { - public MqttConnectingFailedException(MqttClientAuthenticateResult resultCode) - : base($"Connecting with MQTT server failed ({resultCode.ResultCode.ToString()}).") + public MqttConnectingFailedException(MqttClientAuthenticateResult result) + : base($"Connecting with MQTT server failed ({result.ResultCode.ToString()}).") { - Result = resultCode; + Result = result; } public MqttClientAuthenticateResult Result { get; }