We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent def7411 commit c16de4dCopy full SHA for c16de4d
src/core.jl
@@ -138,10 +138,9 @@ end
138
139
function check_channel_name(channelptr::Ptr{UInt8}, opts::SubscriptionOptions)
140
i = 1
141
- while (byte = unsafe_load(channelptr)) != 0x00
142
- byte == UInt8(opts.channel[i]) || error("Mismatch between received channel name and subscription channel name")
+ while (byte = unsafe_load(channelptr, i)) != 0x00
+ byte == codeunit(opts.channel, i) || error("Mismatch between received channel name and subscription channel name")
143
i += 1
144
- channelptr += 1
145
end
146
147
0 commit comments