Various and sundry fixes.
This commit is contained in:
parent
d66b407955
commit
7f1c2f28aa
10 changed files with 11 additions and 7 deletions
|
@ -47,9 +47,11 @@ void Controller::SharedMemStats(void * config){
|
|||
/// This function is called by parseStatistics.
|
||||
/// It updates the internally saved statistics data.
|
||||
void Controller::statStorage::update(IPC::statExchange & data) {
|
||||
if (streamName == ""){
|
||||
if (!streamName.size()){
|
||||
host = data.host();
|
||||
streamName = data.streamName();
|
||||
}
|
||||
if (!connector.size()){
|
||||
connector = data.connector();
|
||||
}
|
||||
statLog tmp;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue