Skip to content

Commit fe9ca24

Browse files
committed
fix Index out of range crash
1 parent 84877d5 commit fe9ca24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SwiftOCA/OCA/Browsing/ConnectionBroker.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ public actor OcaConnectionBroker {
108108
self.init(
109109
serviceType: serviceType,
110110
modelGUID: modelGUID,
111-
serialNumber: components[3],
111+
serialNumber: components[2],
112112
name: ""
113113
)
114114
}

0 commit comments

Comments
 (0)