From 8fd47cb84ca02f63e4ac45f22d28b19151adbb91 Mon Sep 17 00:00:00 2001 From: Shivani Bhardwaj Date: Thu, 8 Jul 2021 17:42:07 +0530 Subject: [PATCH] smtp: fix clang fmt --- src/app-layer-smtp.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/app-layer-smtp.c b/src/app-layer-smtp.c index ad617c950c..a9b04d8c91 100644 --- a/src/app-layer-smtp.c +++ b/src/app-layer-smtp.c @@ -1116,8 +1116,7 @@ static int SMTPParseCommandBDAT(SMTPState *state) } memcpy(strbuf, (const char *)state->current_line + i, len); strbuf[len] = '\0'; - state->bdat_chunk_len = strtoul((const char *)strbuf, - (char **)&endptr, 10); + state->bdat_chunk_len = strtoul((const char *)strbuf, (char **)&endptr, 10); if ((uint8_t *)endptr == state->current_line + i) { /* decoder event */ return -1; -- 2.47.2