mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
convert sys_errlist to g_strerror()
Original commit message from CVS: convert sys_errlist to g_strerror()
This commit is contained in:
parent
7a03109f6d
commit
4d61580232
1 changed files with 1 additions and 1 deletions
|
@ -145,7 +145,7 @@ gst_udpsink_sinkconnect (GstPad *pad, GstCaps *caps)
|
|||
|
||||
if (connect(fd, (struct sockaddr *)&serv_addr, sizeof(serv_addr)) != 0) {
|
||||
g_printerr ("udpsink: connect to %s port %d failed: %s\n",
|
||||
udpsink->host, udpsink->port, sys_errlist[errno]);
|
||||
udpsink->host, udpsink->port, g_strerror(errno));
|
||||
return GST_PAD_CONNECT_REFUSED;
|
||||
}
|
||||
f = fdopen (dup (fd), "wb");
|
||||
|
|
Loading…
Reference in a new issue