Skip to content

Commit

Permalink
Address review comments
Browse files Browse the repository at this point in the history
(cherry picked from commit 9b8e227)
  • Loading branch information
a-h-abdelsalam authored and mergify[bot] committed Oct 15, 2024
1 parent f89b2ef commit 7fa6428
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/gsad_gmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -11986,7 +11986,6 @@ save_my_settings_gmp (gvm_connection_t *connection, credentials_t *credentials,
const char *details_fname, *list_fname, *report_fname;
const char *time_format, *date_format;
gchar *lang_64, *text_64, *max_64, *fname_64;
gchar *time_format_64, *date_format_64;
GString *xml;
entity_t entity;
params_t *changed, *defaults, *filters;
Expand Down Expand Up @@ -12649,7 +12648,7 @@ save_my_settings_gmp (gvm_connection_t *connection, credentials_t *credentials,
if (changed_value == NULL
|| (strcmp (changed_value, "") && strcmp (changed_value, "0")))

Check warning on line 12649 in src/gsad_gmp.c

View check run for this annotation

Codecov / codecov/patch

src/gsad_gmp.c#L12649

Added line #L12649 was not covered by tests
{
time_format_64 =
gchar *time_format_64 =
g_base64_encode ((guchar *) time_format, strlen (time_format));

Check warning on line 12652 in src/gsad_gmp.c

View check run for this annotation

Codecov / codecov/patch

src/gsad_gmp.c#L12652

Added line #L12652 was not covered by tests

if (gvm_connection_sendf (connection,
Expand Down Expand Up @@ -12701,7 +12700,7 @@ save_my_settings_gmp (gvm_connection_t *connection, credentials_t *credentials,
if (changed_value == NULL
|| (strcmp (changed_value, "") && strcmp (changed_value, "0")))

Check warning on line 12701 in src/gsad_gmp.c

View check run for this annotation

Codecov / codecov/patch

src/gsad_gmp.c#L12701

Added line #L12701 was not covered by tests
{
date_format_64 =
gchar *date_format_64 =
g_base64_encode ((guchar *) date_format, strlen (date_format));

Check warning on line 12704 in src/gsad_gmp.c

View check run for this annotation

Codecov / codecov/patch

src/gsad_gmp.c#L12704

Added line #L12704 was not covered by tests

if (gvm_connection_sendf (connection,
Expand Down

0 comments on commit 7fa6428

Please sign in to comment.