summaryrefslogtreecommitdiffstats
path: root/src/dabInput.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2014-01-12 21:54:07 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2014-01-12 21:54:07 +0100
commitf1874c259259a039227517a9cd58d7017a1bef34 (patch)
treefb1cc85521a67d5efb05434fe78cb43a4098e03d /src/dabInput.cpp
parente9c4e1762c3b7531ffe82dc26c67919ee38bfc3a (diff)
downloaddabmux-f1874c259259a039227517a9cd58d7017a1bef34.tar.gz
dabmux-f1874c259259a039227517a9cd58d7017a1bef34.tar.bz2
dabmux-f1874c259259a039227517a9cd58d7017a1bef34.zip
replace all occurrencies of TcpLog and old etiLog
Diffstat (limited to 'src/dabInput.cpp')
-rw-r--r--src/dabInput.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dabInput.cpp b/src/dabInput.cpp
index fa3eece..1ec7c51 100644
--- a/src/dabInput.cpp
+++ b/src/dabInput.cpp
@@ -20,6 +20,7 @@
*/
#include "dabInput.h"
+#include "Log.h"
#include <string.h>
@@ -38,7 +39,7 @@ int dabInputSetbuf(void* args, int size)
int dabInputSetbitrate(dabInputOperations* ops, void* args, int bitrate)
{
if (bitrate <= 0) {
- etiLog.print(TcpLog::ERR, "Invalid bitrate (%i)\n", bitrate);
+ etiLog.log(error, "Invalid bitrate (%i)\n", bitrate);
return -1;
}
if (ops->setbuf(args, bitrate * 3) == 0) {