udp: some compilers doesn't like return = syntax

This commit is contained in:
Damjan Marion 2014-05-25 22:41:21 +02:00
parent 17f2d7c222
commit 63b3b13a72

View file

@ -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
}