提交 e049665f 编写于 作者: J Jo-Philipp Wich

luci-0.10: merge r7297

上级 5848874d
......@@ -179,7 +179,7 @@ static int nixio_sock__recvfrom(lua_State *L, int from) {
}
}
#ifndef __WINNT__
else if (sock->domain == AF_UNIX) {
else if (sock->domain == AF_UNIX && alen > sizeof(sa_family_t)) {
lua_pushstring(L, addr_un.sun_path);
return 2;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册