]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
udp: some compilers doesn't like return = syntax
authorDamjan Marion <damjan.marion@gmail.com>
Sun, 25 May 2014 20:41:21 +0000 (22:41 +0200)
committerDamjan Marion <damjan.marion@gmail.com>
Sun, 25 May 2014 21:13:37 +0000 (23:13 +0200)
src/udp.c

index 1c75d3c7d4620f68fb6492f1086fa620590bdc6c..f4dcbfb476d0de9a14391f4ff87538ca763237be 100644 (file)
--- a/src/udp.c
+++ b/src/udp.c
@@ -115,7 +115,7 @@ udp_get_solip( void )
 #else
   struct protoent *pent;
   pent = getprotobyname("ip");
-  return (pent != NULL) ? pent->p_proto : 0;
+  return (pent != NULL) ? pent->p_proto : 0;
 #endif
 }