From: Stef Walter Date: Thu, 12 Jul 2012 05:33:29 +0000 (+0200) Subject: Fix for libsoup deprecations X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=13568732afa3cef4107c993c533ae7aa07a9c13b;p=profile%2Fivi%2FGSSDP.git Fix for libsoup deprecations * soup_message_headers_get() has been deprecated https://bugzilla.gnome.org/show_bug.cgi?id=679781 --- 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;