sockets.c, igmp.c, igmp.h, memp.h: Fix C++ style comments and

comment out missing header include in icmp.c
This commit is contained in:
kieranm
2007-03-21 12:50:04 +00:00
parent eab3667b61
commit b422864d5d
5 changed files with 11 additions and 6 deletions

View File

@@ -1239,9 +1239,10 @@ int lwip_setsockopt (int s, int level, int optname, const void *optval, socklen_
break;
#if LWIP_IGMP
case IP_MULTICAST_TTL:
{ if(( optlen != sizeof(char) ) && ( optlen != sizeof(int) )) //NOTE, some BSD implementation use "int", some others "char"
{ err = EINVAL;
}
{
/* NOTE, some BSD implementation use "int", some others "char" */
if(( optlen != sizeof(char) ) && ( optlen != sizeof(int) ))
err = EINVAL;
break;
}
case IP_ADD_MEMBERSHIP: