[gst-cvs] gst-plugins-good: udp: Fix a simple typo in the previous commit
Jan Schmidt
thaytan at kemper.freedesktop.org
Mon Apr 20 09:26:30 PDT 2009
Module: gst-plugins-good
Branch: master
Commit: a097571c0a6da9d8deeedc2d613f6c730b129833
URL: http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=a097571c0a6da9d8deeedc2d613f6c730b129833
Author: Jan Schmidt <thaytan at noraisin.net>
Date: Mon Apr 20 17:25:34 2009 +0100
udp: Fix a simple typo in the previous commit
Use #ifdef instead of #if, to fix the build
---
gst/udp/gstudpnetutils.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/gst/udp/gstudpnetutils.c b/gst/udp/gstudpnetutils.c
index 707f7fc..86c1f50 100644
--- a/gst/udp/gstudpnetutils.c
+++ b/gst/udp/gstudpnetutils.c
@@ -180,7 +180,7 @@ gst_udp_join_group (int sockfd, struct sockaddr_storage *addr, gchar * iface)
mreq4.imr_multiaddr.s_addr =
((struct sockaddr_in *) addr)->sin_addr.s_addr;
-#if HAVE_IP_MREQN
+#ifdef HAVE_IP_MREQN
if (iface)
mreq4.imr_ifindex = if_nametoindex (iface);
else
More information about the Gstreamer-commits
mailing list