mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Fix clang-tidy modernize-use-bool-literals warnings in headers
This commit is contained in:
parent
ed202b36b2
commit
a05b4abdf7
4 changed files with 4 additions and 4 deletions
|
@ -44,7 +44,7 @@ public:
|
|||
bool Undelivered(int64_t len);
|
||||
int64_t BodyLength() const { return body_length; }
|
||||
int64_t HeaderLength() const { return header_length; }
|
||||
void SkipBody() { deliver_body = 0; }
|
||||
void SkipBody() { deliver_body = false; }
|
||||
const std::string& FileID() const { return precomputed_file_id; }
|
||||
|
||||
protected:
|
||||
|
|
|
@ -50,7 +50,7 @@ public:
|
|||
void ConnectionFinished(bool half_finished) override;
|
||||
void Undelivered(uint64_t seq, int len, bool orig) override;
|
||||
|
||||
void SkipData() { skip_data = 1; } // skip delivery of data lines
|
||||
void SkipData() { skip_data = true; } // skip delivery of data lines
|
||||
|
||||
static analyzer::Analyzer* Instantiate(Connection* conn) { return new SMTP_Analyzer(conn); }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue