Fixed stats reporting corrupt stream name under certain conditions.
This commit is contained in:
parent
e14274c89d
commit
b23a811849
1 changed files with 3 additions and 0 deletions
|
@ -677,6 +677,9 @@ namespace IPC {
|
|||
name[splitChar] = '+';
|
||||
}
|
||||
memcpy(data + 48, name.c_str(), std::min((int)name.size(), 100));
|
||||
if (name.size() < 100){
|
||||
data[48+name.size()] = 0;
|
||||
}
|
||||
}
|
||||
|
||||
///\brief Gets the name of the stream this user is viewing
|
||||
|
|
Loading…
Add table
Reference in a new issue