projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a03109
)
convert sys_errlist to g_strerror()
author
David Schleef
<ds@schleef.org>
Sat, 26 Oct 2002 03:26:33 +0000
(
03:26
+0000)
committer
David Schleef
<ds@schleef.org>
Sat, 26 Oct 2002 03:26:33 +0000
(
03:26
+0000)
Original commit message from CVS:
convert sys_errlist to g_strerror()
gst/udp/gstudpsink.c
patch
|
blob
|
history
diff --git
a/gst/udp/gstudpsink.c
b/gst/udp/gstudpsink.c
index 4991bd0e50a8a4c357b5f9f333a805bf2f098215..4273dda6f0b3006e1793fa5f4ff0d7473cfd0821 100644
(file)
--- a/
gst/udp/gstudpsink.c
+++ b/
gst/udp/gstudpsink.c
@@
-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");