From ca70032a61a6b6e95dd7637c28bf06fad4ae3403 Mon Sep 17 00:00:00 2001 From: Sven Gestegard Robertz <sven.robertz@cs.lth.se> Date: Thu, 5 Feb 2015 18:43:55 +0100 Subject: [PATCH] removed another fprintf --- lib/c/2014/labcomm_decoder.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/c/2014/labcomm_decoder.c b/lib/c/2014/labcomm_decoder.c index 14fe9bf..aafc5d3 100644 --- a/lib/c/2014/labcomm_decoder.c +++ b/lib/c/2014/labcomm_decoder.c @@ -173,7 +173,9 @@ static int decoder_skip(struct labcomm_decoder *d, int len, int tag) printf("got tag 0x%x, skipping %d bytes\n", tag, len); #endif for(i = 0; i <len; i++){ +#ifdef LABCOMM_DECODER_DEBUG fprintf(stderr,"."); +#endif labcomm_read_byte(d->reader); if (d->reader->error < 0) { #ifdef LABCOMM_DECODER_DEBUG -- GitLab