Skip to content

Commit

Permalink
Remove spaces after ! operator
Browse files Browse the repository at this point in the history
  • Loading branch information
timopollmeier committed Jan 20, 2021
1 parent fa79901 commit 2ffceab
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions src/manage_sql.c
Original file line number Diff line number Diff line change
Expand Up @@ -9297,7 +9297,7 @@ alert_script_exec (const char *alert_id, const char *command_args,

script = g_build_filename (script_dir, "alert", NULL);

if (! gvm_file_is_readable (script))
if (!gvm_file_is_readable (script))
{
g_warning ("%s: Failed to find alert script: %s",
__func__,
Expand Down Expand Up @@ -10088,7 +10088,7 @@ send_to_sourcefire (const char *ip, const char *port, const char *pkcs12_64,

script = g_build_filename (script_dir, "alert", NULL);

if (! gvm_file_is_readable (script))
if (!gvm_file_is_readable (script))
{
g_free (report_file);
g_free (pkcs12_file);
Expand Down Expand Up @@ -10408,7 +10408,7 @@ send_to_verinice (const char *url, const char *username, const char *password,

script = g_build_filename (script_dir, "alert", NULL);

if (! gvm_file_is_readable (script))
if (!gvm_file_is_readable (script))
{
g_warning ("%s: Failed to find alert script: %s",
__func__,
Expand Down Expand Up @@ -46460,7 +46460,7 @@ manage_schema (gchar *format, gchar **output_return, gsize *output_length,

script = g_build_filename (script_dir, "generate", NULL);

if (! gvm_file_is_readable (script))
if (!gvm_file_is_readable (script))
{
g_free (script);
g_free (script_dir);
Expand Down
6 changes: 3 additions & 3 deletions src/manage_sql_report_formats.c
Original file line number Diff line number Diff line change
Expand Up @@ -1293,7 +1293,7 @@ copy_report_format_dir (const gchar *source_dir, const gchar *copy_parent,

/* Check that the source directory exists. */

if (! gvm_file_is_readable (source_dir))
if (!gvm_file_is_readable (source_dir))
{
g_warning ("%s: report format directory %s not found",
__func__, source_dir);
Expand Down Expand Up @@ -3341,15 +3341,15 @@ run_report_format_script (gchar *report_format_id,

script = g_build_filename (script_dir, "generate", NULL);

if (! gvm_file_is_readable (script))
if (!gvm_file_is_readable (script))
{
g_warning ("%s: No generate script found at %s",
__func__, script);
g_free (script);
g_free (script_dir);
return -1;
}
else if (! gvm_file_is_executable (script))
else if (!gvm_file_is_executable (script))
{
g_warning ("%s: script %s is not executable",
__func__, script);
Expand Down

0 comments on commit 2ffceab

Please sign in to comment.