udp: some compilers doesn't like return = syntax
This commit is contained in:
parent
17f2d7c222
commit
63b3b13a72
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue