Skip to content

Commit f39f24a

Browse files
authored
Fix bad type in connection interrupted callback (#23)
1 parent 27b679a commit f39f24a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "AWSCRT"
22
uuid = "df31ea59-17a4-4ebd-9d69-4f45266dc2c7"
3-
version = "0.3.0"
3+
version = "0.3.1"
44

55
[deps]
66
CountDownLatches = "621fb831-fdad-4fff-93ac-1af7b7ed19e3"

src/AWSMQTT.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ function _c_on_connection_interrupted(
218218
return
219219
end
220220

221-
data = Base.unsafe_pointer_to_objref(userdata)::_OnConnectionResumedUserData
221+
data = Base.unsafe_pointer_to_objref(userdata)::_OnConnectionInterruptedUserData
222222
try
223223
put!(data.ch, _OnConnectionInterruptedEvent(data.callback, error_code))
224224
catch ex

0 commit comments

Comments
 (0)