mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
ContentLine: Fix spelling of "suppress", deprecate SupressWeirds()
Closes #2547
This commit is contained in:
parent
dbbb6cd6f0
commit
76ba9d4698
2 changed files with 8 additions and 3 deletions
|
@ -20,7 +20,12 @@ public:
|
|||
int max_line_length = DEFAULT_MAX_LINE_LENGTH);
|
||||
~ContentLine_Analyzer() override;
|
||||
|
||||
void SupressWeirds(bool enable) { suppress_weirds = enable; }
|
||||
void SuppressWeirds(bool enable) { suppress_weirds = enable; };
|
||||
|
||||
[[deprecated("Remove in v6.1. Use SuppressWeirds() instead.")]] void SupressWeirds(bool enable)
|
||||
{
|
||||
SuppressWeirds(enable);
|
||||
}
|
||||
|
||||
// If enabled, flag (first) line with embedded NUL. Default off.
|
||||
void SetIsNULSensitive(bool enable) { flag_NULs = enable; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue