[gupnp] Fix agent cache maintenance
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gupnp] Fix agent cache maintenance
- Date: Sat, 2 Apr 2016 21:28:35 +0000 (UTC)
commit ebc6fdfece2c6a9deaa0249291ccfa2914956d80
Author: Jens Georg <mail jensge org>
Date: Sat Apr 2 23:27:50 2016 +0200
Fix agent cache maintenance
Signed-off-by: Jens Georg <mail jensge org>
libgupnp/gupnp-context.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/libgupnp/gupnp-context.c b/libgupnp/gupnp-context.c
index 22e72b6..2919ab3 100644
--- a/libgupnp/gupnp-context.c
+++ b/libgupnp/gupnp-context.c
@@ -905,7 +905,6 @@ update_client_cache (GUPnPContext *context,
{
const char *entry;
GSSDPClient *client;
- char *ip_address = NULL;
if (user_agent == NULL)
return;
@@ -915,7 +914,7 @@ update_client_cache (GUPnPContext *context,
entry = gssdp_client_guess_user_agent (client, host);
if (!entry) {
gssdp_client_add_cache_entry (client,
- ip_address,
+ host,
user_agent);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]