fixed a typo in sck-addr.c

This commit is contained in:
hyunghwan.chung 2019-12-25 03:24:10 +00:00
parent 8236963ec9
commit 688ffc6807

View File

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