From c5306f81a9d3b87df7e16c852f2505ac913193ca Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli (think)" Date: Fri, 8 Nov 2013 14:43:19 +0100 Subject: make dabOutput more object-oriented --- src/utils.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/utils.cpp') 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& 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; } } -- cgit v1.2.3