From: Pierre Ossman Date: Wed, 20 Apr 2016 07:36:56 +0000 (+0200) Subject: Remove commented out logging X-Git-Tag: v1.9.90~18 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=0fb3e3519558531a64f345726e414998f7d9dc5a;p=tigervnc.git Remove commented out logging --- diff --git a/common/rdr/FdInStream.cxx b/common/rdr/FdInStream.cxx index 011ebf41..1b9a322a 100644 --- a/common/rdr/FdInStream.cxx +++ b/common/rdr/FdInStream.cxx @@ -215,20 +215,10 @@ int FdInStream::readWithTimeoutOrCallback(void* buf, int len, bool wait) if (timing) { gettimeofday(&after, 0); -// fprintf(stderr,"%d.%06d\n",(after.tv_sec - before.tv_sec), -// (after.tv_usec - before.tv_usec)); int newTimeWaited = ((after.tv_sec - before.tv_sec) * 10000 + (after.tv_usec - before.tv_usec) / 100); int newKbits = n * 8 / 1000; -// if (newTimeWaited == 0) { -// fprintf(stderr,"new kbps infinite t %d k %d\n", -// newTimeWaited, newKbits); -// } else { -// fprintf(stderr,"new kbps %d t %d k %d\n", -// newKbits * 10000 / newTimeWaited, newTimeWaited, newKbits); -// } - // limit rate to between 10kbit/s and 40Mbit/s if (newTimeWaited > newKbits*1000) newTimeWaited = newKbits*1000; diff --git a/common/rfb/zrleDecode.h b/common/rfb/zrleDecode.h index 0bfbbe15..b8148672 100644 --- a/common/rfb/zrleDecode.h +++ b/common/rfb/zrleDecode.h @@ -172,8 +172,6 @@ void ZRLE_DECODE (const Rect& r, rdr::InStream* is, } } - //fprintf(stderr,"copying data to screen %dx%d at %d,%d\n", - //t.width(),t.height(),t.tl.x,t.tl.y); pb->imageRect(pf, t, buf); } }