From: Shivani Bhardwaj Date: Thu, 8 Jul 2021 12:12:07 +0000 (+0530) Subject: smtp: fix clang fmt X-Git-Tag: suricata-7.0.0-beta1~1539 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8fd47cb84ca02f63e4ac45f22d28b19151adbb91;p=thirdparty%2Fsuricata.git smtp: fix clang fmt --- 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;