diff options
author | Brett W <geekman3454@protonmail.com> | 2017-08-29 12:36:08 -0400 |
---|---|---|
committer | Brett W <geekman3454@protonmail.com> | 2017-08-29 12:36:08 -0400 |
commit | dfac498da4bfd3d23df1aabe45e10692179ab991 (patch) | |
tree | cdf31628aee8944a6e51b9af00979f86b286ab6a /SmartDeviceLink/SDLControlFramePayloadRPCStartServiceAck.m | |
parent | c2efbea5fba8344406956fa3f02d5fb67537b672 (diff) | |
download | sdl_ios-dfac498da4bfd3d23df1aabe45e10692179ab991.tar.gz |
switching if statements
Diffstat (limited to 'SmartDeviceLink/SDLControlFramePayloadRPCStartServiceAck.m')
-rw-r--r-- | SmartDeviceLink/SDLControlFramePayloadRPCStartServiceAck.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/SmartDeviceLink/SDLControlFramePayloadRPCStartServiceAck.m b/SmartDeviceLink/SDLControlFramePayloadRPCStartServiceAck.m index e4b8347fa..cc2c2c3a5 100644 --- a/SmartDeviceLink/SDLControlFramePayloadRPCStartServiceAck.m +++ b/SmartDeviceLink/SDLControlFramePayloadRPCStartServiceAck.m @@ -43,7 +43,7 @@ NS_ASSUME_NONNULL_BEGIN _hashId = SDLControlFrameInt32NotFound; _mtu = SDLControlFrameInt64NotFound; - if (data != nil) { + if (data.length > 0) { [self sdl_parse:data]; } |