summaryrefslogtreecommitdiff
path: root/osinfo/osinfo_tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'osinfo/osinfo_tree.c')
-rw-r--r--osinfo/osinfo_tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/osinfo/osinfo_tree.c b/osinfo/osinfo_tree.c
index bf35d11..e19d73f 100644
--- a/osinfo/osinfo_tree.c
+++ b/osinfo/osinfo_tree.c
@@ -823,7 +823,7 @@ osinfo_tree_create_from_location_async_helper(CreateFromLocationAsyncData *data,
if (requires_soup) {
if (data->session == NULL)
data->session = soup_session_new_with_options(
- SOUP_SESSION_USER_AGENT, "Wget/1.0",
+ "user-agent", "Wget/1.0",
NULL);
g_clear_object(&data->message);