output smtp: fix call

pull/1195/head
Victor Julien 12 years ago
parent de44a5af94
commit 9a573c5704

@ -57,8 +57,8 @@
static int JsonSmtpLogger(ThreadVars *tv, void *thread_data, const Packet *p) static int JsonSmtpLogger(ThreadVars *tv, void *thread_data, const Packet *p)
{ {
SCEnter(); SCEnter();
int r = JsonEmailLogger(tv, thread_data, p);
SCReturnInt(JsonEmailLogger(tv, thread_data, p)); SCReturnInt(r);
} }
static void OutputSmtpLogDeInitCtx(OutputCtx *output_ctx) static void OutputSmtpLogDeInitCtx(OutputCtx *output_ctx)

Loading…
Cancel
Save