From: Jens Georg Date: Sun, 10 Oct 2010 19:39:29 +0000 (+0200) Subject: Don't print the whole packet on failure to send it X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=93eb4ba478ab688b05b0a9fb409a8dc5ace4ec48;p=profile%2Fivi%2FGSSDP.git Don't print the whole packet on failure to send it Only print destination and the error message. --- diff --git a/libgssdp/gssdp-client.c b/libgssdp/gssdp-client.c index b966725..4a40560 100644 --- a/libgssdp/gssdp-client.c +++ b/libgssdp/gssdp-client.c @@ -648,8 +648,9 @@ _gssdp_client_send_message (GSSDPClient *client, &error); if (res == -1) { - g_warning ("g_socket_sendto: Error sending message %s: %s", - message, error->message); + g_warning ("Error sending SSDP packet to %s: %s", + dest_ip, + error->message); g_error_free (error); }