* soup_message_headers_get() has been deprecated
https://bugzilla.gnome.org/show_bug.cgi?id=679781
/* 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;