fsp_srv: Use std::string_view's copy() function instead of strncpy()
Given elements inserted into a vector are zeroed out, we can just copy MAX_LEN - 1 elements and the data will already be properly null terminated.master
parent
4afb05d0cc
commit
7353cfc781
Loading…
Reference in New Issue