minor fixes

This commit is contained in:
hyunghwan.chung 2019-01-24 07:43:50 +00:00
parent 5101228c39
commit 365518f7c3

View File

@ -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 (*p == '/' && len >= 2)
{ {
#if defined(MOO_OOCH_IS_BCH) #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 #else
moo_oow_t dstlen; moo_oow_t dstlen;