mirror of
https://github.com/zeek/zeek.git
synced 2025-10-05 16:18:19 +00:00
Tweaking a couple of debug message.
As suggested during review.
This commit is contained in:
parent
34eaf42b92
commit
64e34b52aa
1 changed files with 3 additions and 3 deletions
|
@ -49,7 +49,7 @@ int how_many_lines_in(const char* policy_filename)
|
||||||
FILE* throwaway = fopen(policy_filename, "r");
|
FILE* throwaway = fopen(policy_filename, "r");
|
||||||
if ( ! throwaway )
|
if ( ! throwaway )
|
||||||
{
|
{
|
||||||
debug_msg("No such policy file: %s.\n", policy_filename);
|
debug_msg("Could not open policy file: %s.\n", policy_filename);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -97,7 +97,7 @@ bool LoadPolicyFileText(const char* policy_filename,
|
||||||
|
|
||||||
if ( ! f )
|
if ( ! f )
|
||||||
{
|
{
|
||||||
debug_msg("No such policy file: %s.\n", policy_filename);
|
debug_msg("Could not open policy file: %s.\n", policy_filename);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -152,7 +152,7 @@ bool PrintLines(const char* policy_filename, unsigned int start_line, unsigned i
|
||||||
FILE* throwaway = fopen(policy_filename, "r");
|
FILE* throwaway = fopen(policy_filename, "r");
|
||||||
if ( ! throwaway )
|
if ( ! throwaway )
|
||||||
{
|
{
|
||||||
debug_msg("No such policy file: %s.\n", policy_filename);
|
debug_msg("Could not open policy file: %s.\n", policy_filename);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue