Skip to content

Commit

Permalink
Set initial mqtt5DataIndex initial value
Browse files Browse the repository at this point in the history
  • Loading branch information
dahuayuan authored and leeway1208 committed Aug 15, 2023
1 parent 0b911e3 commit ab7b23a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Source/MqttDecodePublish.swift
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ public class MqttDecodePublish: NSObject {
}
self.topic = result.resStr
dataIndex = result.newOffset
mqtt5DataIndex = dataIndex

printDebug("topic = \(topic)")

Expand Down

0 comments on commit ab7b23a

Please sign in to comment.