Various and sundry fixes.

This commit is contained in:
Thulinma 2014-06-20 19:07:13 +02:00
parent d66b407955
commit 7f1c2f28aa
10 changed files with 11 additions and 7 deletions

View file

@ -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;