if (json_output_ctx->flags & LOG_JSON_APP_LAYER && p->flow != NULL) {
const AppProto proto = FlowGetAppProtocol(p->flow);
- JsonBuilderMark mark = { 0 };
+ JsonBuilderMark mark = { 0, 0, 0 };
switch (proto) {
case ALPROTO_HTTP:
// TODO: Could result in an empty http object being logged.
static void EveEmailLogJSONCustom(OutputJsonEmailCtx *email_ctx, JsonBuilder *js, SMTPTransaction *tx)
{
int f = 0;
- JsonBuilderMark mark = { 0 };
+ JsonBuilderMark mark = { 0, 0, 0 };
MimeDecField *field;
MimeDecEntity *entity = tx->msg_tail;
if (entity == NULL) {
SMTPState *smtp_state;
MimeDecParseState *mime_state;
MimeDecEntity *entity;
- JsonBuilderMark mark = { 0 };
+ JsonBuilderMark mark = { 0, 0, 0 };
/* check if we have SMTP state or not */
AppProto proto = FlowGetAppProtocol(f);
{
OutputJsonEmailCtx *email_ctx = aft->emaillog_ctx;
SMTPTransaction *tx = (SMTPTransaction *) vtx;
- JsonBuilderMark mark = { 0 };
+ JsonBuilderMark mark = { 0, 0, 0 };
jb_get_mark(js, &mark);
jb_open_object(js, "email");
if (unlikely(js == NULL))
return NULL;
- JsonBuilderMark mark = { 0 };
+ JsonBuilderMark mark = { 0, 0, 0 };
switch (p->flow->alproto) {
case ALPROTO_HTTP:
jb_open_object(js, "http");