Skip to content

Commit

Permalink
Fix variable not in scope
Browse files Browse the repository at this point in the history
  • Loading branch information
quinnj committed Sep 19, 2024
1 parent dc16c47 commit a1ddcb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sockets/client.jl
Original file line number Diff line number Diff line change
Expand Up @@ -224,8 +224,8 @@ function schedule_channel_task(channel, task_fn, arg, type_tag)
end

function c_scheduled_write(channel_task, arg, status)
socket = arg.socket
if status == Int(AWS_TASK_STATUS_RUN_READY)
socket = arg.socket
n = arg.n
socket.debug && @info "c_scheduled_write: writing $n bytes"
buf = aws_byte_buf(0, pointer(socket.writebuf.data), n, C_NULL)
Expand Down

0 comments on commit a1ddcb7

Please # to comment.