summaryrefslogtreecommitdiffstats
path: root/gst/udp
diff options
context:
space:
mode:
authorThijs Vermeir <thijsvermeir@gmail.com>2008-01-18 13:40:38 +0000
committerThijs Vermeir <thijsvermeir@gmail.com>2008-01-18 13:40:38 +0000
commitc8d8a7e613b65ef0da7518b53f8c4e372a0e651a (patch)
treef01a56fda73104cb2cc3ae64802b8b451d542d21 /gst/udp
parent84db6c6101f063d9dafca25f86fc51a02d730329 (diff)
gst/udp/gstmultiudpsink.c: use GST_WARNING for logging
Original commit message from CVS: * gst/udp/gstmultiudpsink.c: use GST_WARNING for logging
Diffstat (limited to 'gst/udp')
-rw-r--r--gst/udp/gstmultiudpsink.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gst/udp/gstmultiudpsink.c b/gst/udp/gstmultiudpsink.c
index be8d4846..1ec8f63a 100644
--- a/gst/udp/gstmultiudpsink.c
+++ b/gst/udp/gstmultiudpsink.c
@@ -542,7 +542,8 @@ leave_multicast (GstUDPClient * client)
{
if (setsockopt (*(client->sock), IPPROTO_IP, IP_DROP_MEMBERSHIP,
&(client->multi_addr), sizeof (client->multi_addr)) < 0)
- perror ("setsockopt IP_DROP_MEMBERSHIP\n");
+ GST_WARNING ("setsockopt IP_DROP_MEMBERSHIP failed '%s'",
+ g_strerror (errno));
}
/* create a socket for sending to remote machine */