Commit 7353cfc7 authored by Lioncash's avatar Lioncash
Browse files

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.
parent 4afb05d0
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment