Skip to content

Commit

Permalink
fix: const name from RbTrace to RBTrace
Browse files Browse the repository at this point in the history
  • Loading branch information
k0i authored and tmm1 committed Dec 15, 2023
1 parent 58d759f commit 1c67488
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rbtrace/rbtracer.rb
Expand Up @@ -323,7 +323,7 @@ def send_cmd(*cmd)
msg = cmd.to_msgpack
# A message is null-terminated, but bytesize gives the unterminated
# length.
if msg.bytesize >= RbTrace::BUF_SIZE
if msg.bytesize >= RBTrace::BUF_SIZE
raise ArgumentError, "command is too long (#{msg.bytesize}B >= #{MsgQ::EventMsg::BUF_SIZE}B)"
end
MsgQ::EventMsg.send_cmd(@qo, msg)
Expand Down

0 comments on commit 1c67488

Please sign in to comment.