Skip to content

Commit

Permalink
Some further amendments.
Browse files Browse the repository at this point in the history
  • Loading branch information
jhelmold committed Sep 18, 2024
1 parent 00228d6 commit 0b94d1b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/manage_sql_secinfo.c
Original file line number Diff line number Diff line change
Expand Up @@ -2709,8 +2709,8 @@ json_object_item_double (cJSON *object, char *key, double fallback)
*
* @return The (database) id of the node.
*/
static int
save_node (long int parent_id, long int cve_id, char * operator)
static resource_t
save_node (resource_t parent_id, resource_t cve_id, char *operator)

Check warning on line 2713 in src/manage_sql_secinfo.c

View check run for this annotation

Codecov / codecov/patch

src/manage_sql_secinfo.c#L2713

Added line #L2713 was not covered by tests
{
return sql_int64_0

Check warning on line 2715 in src/manage_sql_secinfo.c

View check run for this annotation

Codecov / codecov/patch

src/manage_sql_secinfo.c#L2715

Added line #L2715 was not covered by tests
("INSERT INTO scap2.cpe_match_nodes"
Expand Down Expand Up @@ -2803,7 +2803,7 @@ add_cpe_match_rules (long int id, cJSON *match_rules)
* specific tree level.
*/
static void
load_nodes (long int parent_id, long int cveid, cJSON *nodes)
load_nodes (resource_t parent_id, resource_t cveid, cJSON *nodes)

Check warning on line 2806 in src/manage_sql_secinfo.c

View check run for this annotation

Codecov / codecov/patch

src/manage_sql_secinfo.c#L2806

Added line #L2806 was not covered by tests
{
cJSON *node;
long int id;
Expand Down

0 comments on commit 0b94d1b

Please sign in to comment.