mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Renaming InternalAnalyzerError to AnalyzerError.
This is to avoid confusion when we abort and when not: InternalError() aborts; AnalyzerError() does not.
This commit is contained in:
parent
d6855dc4eb
commit
8e18f9d59e
14 changed files with 29 additions and 29 deletions
|
@ -699,7 +699,7 @@ void HTTP_Message::SubmitData(int len, const char* buf)
|
|||
if ( buf != (const char*) data_buffer->Bytes() + buffer_offset ||
|
||||
buffer_offset + len > buffer_size )
|
||||
{
|
||||
reporter->InternalAnalyzerError(MyHTTP_Analyzer(),
|
||||
reporter->AnalyzerError(MyHTTP_Analyzer(),
|
||||
"HTTP message buffer misalignment");
|
||||
return;
|
||||
}
|
||||
|
@ -747,7 +747,7 @@ void HTTP_Message::SubmitEvent(int event_type, const char* detail)
|
|||
break;
|
||||
|
||||
default:
|
||||
reporter->InternalAnalyzerError(MyHTTP_Analyzer(),
|
||||
reporter->AnalyzerError(MyHTTP_Analyzer(),
|
||||
"unrecognized HTTP message event");
|
||||
return;
|
||||
}
|
||||
|
@ -1239,7 +1239,7 @@ int HTTP_Analyzer::HTTP_RequestLine(const char* line, const char* end_of_line)
|
|||
|
||||
if ( ! ParseRequest(rest, end_of_line) )
|
||||
{
|
||||
reporter->InternalAnalyzerError(this, "HTTP ParseRequest failed");
|
||||
reporter->AnalyzerError(this, "HTTP ParseRequest failed");
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue