projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80510ae
)
udp: Don't set errno to EAFNOSUPPORT unconditionally
author
LRN
<lrn1986@gmail.com>
Fri, 27 Feb 2009 19:24:53 +0000
(20:24 +0100)
committer
Sebastian Dröge
<sebastian.droege@collabora.co.uk>
Fri, 27 Feb 2009 19:24:53 +0000
(20:24 +0100)
Fixes bug #573342.
gst/udp/gstudpnetutils.c
patch
|
blob
|
history
diff --git
a/gst/udp/gstudpnetutils.c
b/gst/udp/gstudpnetutils.c
index
a1588ca
..
0726850
100644
(file)
--- a/
gst/udp/gstudpnetutils.c
+++ b/
gst/udp/gstudpnetutils.c
@@
-149,7
+149,11
@@
gst_udp_set_loop_ttl (int sockfd, gboolean loop, int ttl)
break;
}
default:
+#ifdef G_OS_WIN32
+ WSASetLastError (WSAEAFNOSUPPORT);
+#else
errno = EAFNOSUPPORT;
+#endif
}
#endif
return ret;