Skip to content

Commit 3b40354

Browse files
committed
Fix getting the agent installer file from the GMP response
The XML doesn't contain a `agent_installer` element. Instead the element is named `file`.
1 parent 45a9962 commit 3b40354

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gsad_gmp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18292,7 +18292,7 @@ get_agent_installer_file_gmp (gvm_connection_t *connection,
1829218292
"Failed to receive installer file response.", response_data);
1829318293
}
1829418294

18295-
file_entity = entity_child (entity, "agent_installer");
18295+
file_entity = entity_child (entity, "file");
1829618296

1829718297
if (!file_entity || !entity_text (file_entity))
1829818298
{

0 commit comments

Comments
 (0)