summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLControlFramePayloadRPCStartServiceAck.m
diff options
context:
space:
mode:
authorBrett W <geekman3454@protonmail.com>2017-08-29 12:36:08 -0400
committerBrett W <geekman3454@protonmail.com>2017-08-29 12:36:08 -0400
commitdfac498da4bfd3d23df1aabe45e10692179ab991 (patch)
treecdf31628aee8944a6e51b9af00979f86b286ab6a /SmartDeviceLink/SDLControlFramePayloadRPCStartServiceAck.m
parentc2efbea5fba8344406956fa3f02d5fb67537b672 (diff)
downloadsdl_ios-dfac498da4bfd3d23df1aabe45e10692179ab991.tar.gz
switching if statements
Diffstat (limited to 'SmartDeviceLink/SDLControlFramePayloadRPCStartServiceAck.m')
-rw-r--r--SmartDeviceLink/SDLControlFramePayloadRPCStartServiceAck.m2
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];
}