Skip to content

Commit

Permalink
fixups
Browse files Browse the repository at this point in the history
Signed-off-by: Szilard Parrag <szilard.parrag@axoflow.com>
  • Loading branch information
OverOrion committed Nov 5, 2024
1 parent 09c5236 commit c0d9dbe
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion modules/afsnmp/snmptrapd-parser.c
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ snmptrapd_parser_process(LogParser *s, LogMessage **pmsg, const LogPathOptions *
log_msg_make_writable(pmsg, path_options);
msg_trace("snmptrapd-parser message processing started",
evt_tag_str ("input", input),
evt_tag_str ("prefix", self->prefix->str)));
evt_tag_str ("prefix", self->prefix->str));

APPEND_ZERO(input, input, input_len);

Expand Down
7 changes: 4 additions & 3 deletions modules/grpc/otel/otel-protobuf-parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1449,15 +1449,15 @@ syslogng::grpc::otel::ProtobufParser::process(LogMessage *msg)

if (!_parse_metadata(msg, this->set_host))
{
success = false
goto exit;
success = false;
goto exit;
}

if (type == "log")
{
if (!_parse_log_record(msg))
{
success = false;
success = false;
goto exit;
}
}
Expand Down Expand Up @@ -1489,6 +1489,7 @@ syslogng::grpc::otel::ProtobufParser::process(LogMessage *msg)

exit:
msg_set_context(NULL);
return success;
}

static gboolean
Expand Down

0 comments on commit c0d9dbe

Please sign in to comment.