From 63b3b13a7273d71e86c42347e41b7e850d7637ab Mon Sep 17 00:00:00 2001 From: Damjan Marion Date: Sun, 25 May 2014 22:41:21 +0200 Subject: [PATCH] udp: some compilers doesn't like return = syntax --- src/udp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/udp.c b/src/udp.c index 1c75d3c7..f4dcbfb4 100644 --- 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 }