Preventing the SN_ConnectAck return_code from being 0 when an early error occurs.
This PR sets the SN_ConnectAck return code in SN_Client_Connect() to the rc error code if rc isn't 0, in case the switch statement in the function breaks before SN_Client_HandlePacket() is called.
Preventing the SN_ConnectAck
return_code
from being 0 when an early error occurs.This PR sets the SN_ConnectAck return code in
SN_Client_Connect()
to the rc error code if rc isn't 0, in case the switch statement in the function breaks beforeSN_Client_HandlePacket()
is called.