Commit ee096448 authored by Bastien Nocera's avatar Bastien Nocera
Browse files

context: Use ASCII-only user-agent

We were using the application name, which is translated, as the
identifier for our program in the user-agent. This caused some
UPnP servers, such as the one built into Synology NAS to fail
to answer our announcement requests.

Use the program name instead, as this is supposed to be ASCII only.
parent 552b9e7a
......@@ -183,7 +183,7 @@ gupnp_context_initable_init (GInitable *initable,
user_agent = g_strdup_printf ("%s GUPnP/" VERSION " DLNADOC/1.50",
g_get_application_name ()? : "");
g_get_prgname ()? : "");
g_object_set (context->priv->session,
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment