diff options
author | lapinskijw <jlapinski.dev@gmail.com> | 2020-03-31 11:34:16 -0400 |
---|---|---|
committer | lapinskijw <jlapinski.dev@gmail.com> | 2020-03-31 11:34:16 -0400 |
commit | c13479d360caa3bbfcb00528505c1cd9e5bd1312 (patch) | |
tree | 154b1fc9516973f333b33459d3a02f60bdd0c823 | |
parent | 2bf024ab23b9aa3f3d434f0359ce27adc0113f1c (diff) | |
download | sdl_ios-bugfix/issue-1577-raw-data-mtu-size.tar.gz |
replaced SDLServiceTypeRPC with service parameterbugfix/issue-1577-raw-data-mtu-size
-rw-r--r-- | SmartDeviceLink/SDLProtocol.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/SmartDeviceLink/SDLProtocol.m b/SmartDeviceLink/SDLProtocol.m index 29c7ca38f..cb1ef3af0 100644 --- a/SmartDeviceLink/SDLProtocol.m +++ b/SmartDeviceLink/SDLProtocol.m @@ -418,7 +418,7 @@ NS_ASSUME_NONNULL_BEGIN SDLProtocolMessage *message = [SDLProtocolMessage messageWithHeader:header andPayload:data]; - if (message.size < [[SDLGlobals sharedGlobals] mtuSizeForServiceType:SDLServiceTypeRPC]) { + if (message.size < [[SDLGlobals sharedGlobals] mtuSizeForServiceType:service]) { SDLLogV(@"Sending protocol message: %@", message); [self sdl_sendDataToTransport:message.data onService:header.serviceType]; } else { |