]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
smtp-layer: remove FIXME and del excessive newline
authorEric Leblond <eric@regit.org>
Wed, 23 Sep 2015 11:54:38 +0000 (13:54 +0200)
committerEric Leblond <eric@regit.org>
Tue, 6 Oct 2015 21:30:46 +0000 (23:30 +0200)
src/app-layer-smtp.c

index 0731442ac4580e17b06cb5d3eb6301f255605647..a7f54d6f095fe4c69f538a6ec57ceea86a6bf3b0 100644 (file)
@@ -985,7 +985,6 @@ static int SMTPParseCommandWithParam(SMTPState *state, uint8_t prefix_len, uint8
         spc_i++;
     }
 
-    /* FIXME check arithmetic */
     *target = SCMalloc(spc_i - i + 1);
     if (*target == NULL)
         return -1;
@@ -994,7 +993,6 @@ static int SMTPParseCommandWithParam(SMTPState *state, uint8_t prefix_len, uint8
     *target_len = spc_i - i;
 
     return 0;
-
 }
 
 static int SMTPParseCommandHELO(SMTPState *state)