mirror of
https://github.com/zeek/zeek.git
synced 2025-10-15 21:18:20 +00:00
Fix nesting/indent level whitespace mismatch.
The EndData() doesn't make sense as part of the condition that implies the state is such that it's not inside data. It might make sense as part of an else block, but it also seems fine to unconditionally EndData() like it currently does. That way unexpected states (mail != 0) are dealt with sooner rather than later.
This commit is contained in:
parent
a316878d01
commit
79bd81c8da
1 changed files with 1 additions and 1 deletions
|
@ -599,7 +599,7 @@ void SMTP_Analyzer::UpdateState(const int cmd_code, const int reply_code)
|
|||
case 0:
|
||||
if ( st != SMTP_IN_DATA )
|
||||
UnexpectedCommand(cmd_code, reply_code);
|
||||
EndData();
|
||||
EndData();
|
||||
state = SMTP_AFTER_DATA;
|
||||
break;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue