diff --git a/src/util-decode-mime.c b/src/util-decode-mime.c
index b10b737..ffab02a 100644
--- a/src/util-decode-mime.c
+++ b/src/util-decode-mime.c
@@ -1578,7 +1578,7 @@ static int ProcessBodyLine(const uint8_t *buf, uint32_t len,
         }
     } else {
         /* Process non-decoded content */
-        remaining = len + state->current_line_delimiter_len;
+        remaining = len;
         offset = 0;
         while (remaining > 0) {
             /* Plan to add CRLF to the end of each line */
