From 4422ab97c43e13735d274219a2957aae7ec60d76 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Tue, 20 Mar 2018 14:42:22 +0100 Subject: Stop using fprintf in input information --- src/InputTcpReader.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/InputTcpReader.cpp') diff --git a/src/InputTcpReader.cpp b/src/InputTcpReader.cpp index e48e258..21f8496 100644 --- a/src/InputTcpReader.cpp +++ b/src/InputTcpReader.cpp @@ -83,9 +83,8 @@ int InputTcpReader::GetNextFrame(void* buffer) return ret; } -void InputTcpReader::PrintInfo() const +std::string InputTcpReader::GetPrintableInfo() const { - fprintf(stderr, "Input TCP:\n"); - fprintf(stderr, " Receiving from %s\n\n", m_uri.c_str()); + return "Input TCP: Receiving from " + m_uri; } -- cgit v1.2.3