diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2014-01-12 21:54:07 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2014-01-12 21:54:07 +0100 |
commit | f1874c259259a039227517a9cd58d7017a1bef34 (patch) | |
tree | fb1cc85521a67d5efb05434fe78cb43a4098e03d /src/dabInputRawFifo.cpp | |
parent | e9c4e1762c3b7531ffe82dc26c67919ee38bfc3a (diff) | |
download | dabmux-f1874c259259a039227517a9cd58d7017a1bef34.tar.gz dabmux-f1874c259259a039227517a9cd58d7017a1bef34.tar.bz2 dabmux-f1874c259259a039227517a9cd58d7017a1bef34.zip |
replace all occurrencies of TcpLog and old etiLog
Diffstat (limited to 'src/dabInputRawFifo.cpp')
-rw-r--r-- | src/dabInputRawFifo.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/dabInputRawFifo.cpp b/src/dabInputRawFifo.cpp index b40e14d..7076143 100644 --- a/src/dabInputRawFifo.cpp +++ b/src/dabInputRawFifo.cpp @@ -125,7 +125,7 @@ int dabInputRawFifoReadFrame(dabInputOperations* ops, void* args, result = ops->read(args, data->buffer + data->bufferOffset, size - data->bufferOffset); if (result == -1) { - etiLog.print(TcpLog::CRIT, "ERROR: Can't read fifo\n"); + etiLog.log(alert, "ERROR: Can't read fifo\n"); perror(""); return -1; } @@ -133,21 +133,21 @@ int dabInputRawFifoReadFrame(dabInputOperations* ops, void* args, if (result + data->bufferOffset < size) { data->bufferOffset += result; - etiLog.print(TcpLog::NOTICE, "reach end of fifo -> rewinding\n"); + etiLog.log(info, "reach end of fifo -> rewinding\n"); if (ops->rewind(args) == -1) { - etiLog.print(TcpLog::CRIT, "ERROR: Can't rewind fifo\n"); + etiLog.log(alert, "ERROR: Can't rewind fifo\n"); return -1; } result = ops->read(args, data->buffer + data->bufferOffset, size - data->bufferOffset); if (result == -1) { - etiLog.print(TcpLog::CRIT, "ERROR: Can't read fifo\n"); + etiLog.log(alert, "ERROR: Can't read fifo\n"); perror(""); return -1; } if (result < size) { - etiLog.print(TcpLog::CRIT, "ERROR: Not enought data in fifo\n"); + etiLog.log(alert, "ERROR: Not enought data in fifo\n"); return 0; } } |