aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli (think) <matthias@mpb.li>2013-11-08 14:43:19 +0100
committerMatthias P. Braendli (think) <matthias@mpb.li>2013-11-08 14:43:19 +0100
commitc5306f81a9d3b87df7e16c852f2505ac913193ca (patch)
tree40716835305aa871cae5a5b3c805f0c673f47108 /src/utils.cpp
parent573c7b63092618ecae86847d9d0a143801db0780 (diff)
downloaddabmux-c5306f81a9d3b87df7e16c852f2505ac913193ca.tar.gz
dabmux-c5306f81a9d3b87df7e16c852f2505ac913193ca.tar.bz2
dabmux-c5306f81a9d3b87df7e16c852f2505ac913193ca.zip
make dabOutput more object-oriented
Diffstat (limited to 'src/utils.cpp')
-rw-r--r--src/utils.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils.cpp b/src/utils.cpp
index 270e7f5..9e87337 100644
--- a/src/utils.cpp
+++ b/src/utils.cpp
@@ -285,9 +285,9 @@ void printOutputs(vector<dabOutput*>& outputs)
for (output = outputs.begin(); output != outputs.end(); ++output) {
etiLog.printHeader(TcpLog::INFO, "Output %i\n", index);
etiLog.printHeader(TcpLog::INFO, " protocol: %s\n",
- (*output)->outputProto);
+ (*output)->outputProto.c_str());
etiLog.printHeader(TcpLog::INFO, " name: %s\n",
- (*output)->outputName);
+ (*output)->outputName.c_str());
++index;
}
}