diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2018-03-20 14:42:22 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2018-03-20 14:42:22 +0100 |
commit | 4422ab97c43e13735d274219a2957aae7ec60d76 (patch) | |
tree | f85e6899bb832f93060921cb06f45cd7eefa2ada /src/InputTcpReader.cpp | |
parent | 645b9e87fc5dab2cf87bfef1d5b2ba2ce2f85089 (diff) | |
download | dabmod-4422ab97c43e13735d274219a2957aae7ec60d76.tar.gz dabmod-4422ab97c43e13735d274219a2957aae7ec60d76.tar.bz2 dabmod-4422ab97c43e13735d274219a2957aae7ec60d76.zip |
Stop using fprintf in input information
Diffstat (limited to 'src/InputTcpReader.cpp')
-rw-r--r-- | src/InputTcpReader.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
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; } |