Skip to content

Commit

Permalink
comment typo
Browse files Browse the repository at this point in the history
  • Loading branch information
scareything committed Oct 3, 2023
1 parent 66cb930 commit eb1c3e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Ziti.swift
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ import CZitiPrivate
let refresh_interval = 30
#endif

// convert kes and id info to char * types that ziti-sdk-c can use.
// convert key and id info to char * types that ziti-sdk-c can use.
// also considered .withCString - https://stackoverflow.com/questions/31378120/convert-swift-string-into-cchar-pointer
let ctrlPtr = UnsafeMutablePointer<Int8>.allocate(capacity: id.ztAPI.count + 1)
ctrlPtr.initialize(from: id.ztAPI, count: id.ztAPI.count + 1)
Expand Down

0 comments on commit eb1c3e8

Please sign in to comment.