[gssdp] Fix for libsoup deprecations
- From: Stefan Walter <stefw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gssdp] Fix for libsoup deprecations
- Date: Wed, 18 Jul 2012 12:37:41 +0000 (UTC)
commit 13568732afa3cef4107c993c533ae7aa07a9c13b
Author: Stef Walter <stefw gnome org>
Date: Thu Jul 12 07:33:29 2012 +0200
Fix for libsoup deprecations
* soup_message_headers_get() has been deprecated
https://bugzilla.gnome.org/show_bug.cgi?id=679781
tools/gssdp-device-sniffer.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tools/gssdp-device-sniffer.c b/tools/gssdp-device-sniffer.c
index 4ae3943..5e95794 100644
--- a/tools/gssdp-device-sniffer.c
+++ b/tools/gssdp-device-sniffer.c
@@ -179,9 +179,9 @@ packet_to_treeview_data (const gchar *from_ip,
/* Now the Packet Information */
if (type == _GSSDP_DISCOVERY_RESPONSE)
- target = soup_message_headers_get (headers, "ST");
+ target = soup_message_headers_get_one (headers, "ST");
else
- target = soup_message_headers_get (headers, "NT");
+ target = soup_message_headers_get_one (headers, "NT");
packet_data[3] = g_strdup (target);
packet_data[4] = NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]