summaryrefslogtreecommitdiffstats
path: root/src/utils.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2014-02-14 21:37:04 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2014-02-14 21:37:47 +0100
commit18ac7c4644add4db18bcb7cd7cb3560cffe846b3 (patch)
tree4cb0d3d26d338d5b857023024c401cbfb6c5a09b /src/utils.cpp
parentcba2e4929392272ce09219d1a691c059a580ab41 (diff)
downloaddabmux-18ac7c4644add4db18bcb7cd7cb3560cffe846b3.tar.gz
dabmux-18ac7c4644add4db18bcb7cd7cb3560cffe846b3.tar.bz2
dabmux-18ac7c4644add4db18bcb7cd7cb3560cffe846b3.zip
restart RC if it did a fault
Diffstat (limited to 'src/utils.cpp')
-rw-r--r--src/utils.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/utils.cpp b/src/utils.cpp
index 8422782..1cbd9d5 100644
--- a/src/utils.cpp
+++ b/src/utils.cpp
@@ -306,8 +306,13 @@ void printOutputs(vector<dabOutput*>& outputs)
etiLog.log(info, "Output %i", index);
etiLog.level(info) << " protocol: " <<
(*output)->outputProto;
+
etiLog.level(info) << " name: " <<
- (*output)->outputName;
+ (*output)->outputName.c_str();
+ // Daboutputfile mangles with outputName, inserting \0 to
+ // cut the string in several parts. That doesn't work
+ // with stl strings. Thats why the .c_str()
+
++index;
}
}