fixed a typo in sck-addr.c
This commit is contained in:
parent
8236963ec9
commit
688ffc6807
@ -545,7 +545,7 @@ sck_len_t moo_sck_addr_len (sck_addr_t* addr)
|
|||||||
{
|
{
|
||||||
switch (addr->family)
|
switch (addr->family)
|
||||||
{
|
{
|
||||||
#if defined(AF_INET) && (MOO__SIZEOF_STRUCT_SOCKADDR_IN > 0)
|
#if defined(AF_INET) && (MOO_SIZEOF_STRUCT_SOCKADDR_IN > 0)
|
||||||
case AF_INET:
|
case AF_INET:
|
||||||
return MOO_SIZEOF(struct sockaddr_in);
|
return MOO_SIZEOF(struct sockaddr_in);
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user