]> git.ipfire.org Git - people/ms/suricata.git/commitdiff
smtp: fix clang fmt
authorShivani Bhardwaj <shivanib134@gmail.com>
Thu, 8 Jul 2021 12:12:07 +0000 (17:42 +0530)
committerShivani Bhardwaj <shivanib134@gmail.com>
Thu, 5 Aug 2021 15:45:12 +0000 (21:15 +0530)
src/app-layer-smtp.c

index ad617c950c95240fca1cca6374885ea6e17c4c13..a9b04d8c919425c042e0d22ed1218ce4089ee250 100644 (file)
@@ -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;