std and extra: use as_c_str instead of as_buf in a couple places
These uses are assuming the strings are null terminated, so it should be using `as_c_str` instead of `as_buf`
Showing
想要评论请 注册 或 登录
These uses are assuming the strings are null terminated, so it should be using `as_c_str` instead of `as_buf`