summaryrefslogtreecommitdiffstats
path: root/sesman/chansrv/fifo.c
diff options
context:
space:
mode:
authorPavel Roskin <plroskin@gmail.com>2016-10-16 22:21:07 -0700
committerPavel Roskin <plroskin@gmail.com>2016-10-17 08:54:07 -0700
commita618d4f757d57068e388b213290d3a4f6068a9ae (patch)
treec43f43fdf084e6d0f0a75eac2cee81ea1fa6d9b6 /sesman/chansrv/fifo.c
parent424cef464b66e93704991c7747476306d43e2065 (diff)
downloadxrdp-proprietary-a618d4f757d57068e388b213290d3a4f6068a9ae.tar.gz
xrdp-proprietary-a618d4f757d57068e388b213290d3a4f6068a9ae.zip
Don't use final newline in log calls, it's already appended
Diffstat (limited to 'sesman/chansrv/fifo.c')
-rw-r--r--sesman/chansrv/fifo.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sesman/chansrv/fifo.c b/sesman/chansrv/fifo.c
index b212736a..595dbb29 100644
--- a/sesman/chansrv/fifo.c
+++ b/sesman/chansrv/fifo.c
@@ -235,21 +235,21 @@ fifo_remove(FIFO* fp)
void*
fifo_peek(FIFO* fp)
{
- log_debug_high("entered\n");
+ log_debug_high("entered");
if (!fp)
{
- log_debug_high("FIFO is null\n");
+ log_debug_high("FIFO is null");
return 0;
}
if (fp->rd_ptr == fp->wr_ptr)
{
- log_debug_high("FIFO is empty\n");
+ log_debug_high("FIFO is empty");
return 0;
}
- log_debug_low("peeking data at index %d\n", fp->rd_ptr);
+ log_debug_low("peeking data at index %d", fp->rd_ptr);
return (void *) fp->user_data[fp->rd_ptr];
}