summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2015-02-06 18:00:57 +0100
committerChristophe Fergeau <cfergeau@redhat.com>2017-05-05 11:01:34 +0200
commit3c9adae6a2e3637fa8ed38e1881d4287e19009c9 (patch)
tree53b618ebd0c3dd8807b6f3f31666c45b26930799
parente34053bff0261537cfef132e6ebb2adcf64e9a17 (diff)
set user agent
-rw-r--r--govirt/ovirt-proxy.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/govirt/ovirt-proxy.c b/govirt/ovirt-proxy.c
index 73c4d4a..3702a0f 100644
--- a/govirt/ovirt-proxy.c
+++ b/govirt/ovirt-proxy.c
@@ -1031,6 +1031,7 @@ ovirt_proxy_init(OvirtProxy *self)
g_str_equal,
g_free,
g_free);
+ rest_proxy_set_user_agent(REST_PROXY(self), PACKAGE"/"VERSION);
}
/* FIXME : "uri" should just be a base domain, foo.example.com/some/path