mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Add argument checking to a few more printf-style calls.
This commit is contained in:
parent
697b68ab01
commit
bfdce4d419
7 changed files with 9 additions and 9 deletions
|
@ -54,7 +54,7 @@ public:
|
|||
void TraceOn();
|
||||
void TraceOff();
|
||||
|
||||
int LogTrace(const char* fmt, ...);
|
||||
int LogTrace(const char* fmt, ...) __attribute__((format(printf, 2, 3)));;
|
||||
|
||||
protected:
|
||||
bool dbgtrace; // print an execution trace
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue