mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Use one-based index in warning message
This was surfacing a zero-based counter to users which was confusing.
This commit is contained in:
parent
92d2d0c6b8
commit
b1ddf9e476
2 changed files with 2 additions and 2 deletions
|
@ -1272,7 +1272,7 @@ void Manager::ProcessMessage(std::string_view topic, broker::zeek::Event& ev) {
|
|||
expected_type->GetName().c_str());
|
||||
}
|
||||
|
||||
reporter->Warning("failed to convert remote event '%s' arg #%zu, %s", std::string{name}.c_str(), i,
|
||||
reporter->Warning("failed to convert remote event '%s' arg #%zu, %s", std::string{name}.c_str(), i + 1,
|
||||
msg_addl.c_str());
|
||||
|
||||
// If we got a vector and expected a function this is
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue