From 365518f7c3168a0a3542f7479a5dc7645fb390a5 Mon Sep 17 00:00:00 2001 From: "hyunghwan.chung" Date: Thu, 24 Jan 2019 07:43:50 +0000 Subject: [PATCH] minor fixes --- moo/mod/sck-addr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/moo/mod/sck-addr.c b/moo/mod/sck-addr.c index 9729602..8f9228e 100644 --- a/moo/mod/sck-addr.c +++ b/moo/mod/sck-addr.c @@ -37,7 +37,7 @@ # include #endif #if defined(HAVE_SYS_UN_H) - #include +# include #endif #if defined(HAVE_NETPACKET_PACKET_H) # include @@ -249,7 +249,7 @@ static int str_to_sockaddr (moo_t* moo, const moo_ooch_t* str, moo_oow_t len, so if (*p == '/' && len >= 2) { #if defined(MOO_OOCH_IS_BCH) - moo_copybcstr (nwad->un.sun_path, MOO_COUNTOF(nwad->un.sun_path), str); + moo_copy_bcstr (nwad->un.sun_path, MOO_COUNTOF(nwad->un.sun_path), str); #else moo_oow_t dstlen;