소스 검색

Remove unneeded logging from ZRLE decoder

We will log the exception, so avoid direct writes to stderr by
simply removing these log lines.
tags/v1.9.90
Pierre Ossman 5 년 전
부모
커밋
2ff61a285e
1개의 변경된 파일0개의 추가작업 그리고 2개의 파일을 삭제
  1. 0
    2
      common/rfb/zrleDecode.h

+ 0
- 2
common/rfb/zrleDecode.h 파일 보기

@@ -134,7 +134,6 @@ void ZRLE_DECODE (const Rect& r, rdr::InStream* is,
} while (b == 255);

if (end - ptr < len) {
fprintf (stderr, "ZRLE decode error\n");
throw Exception ("ZRLE decode error");
}

@@ -158,7 +157,6 @@ void ZRLE_DECODE (const Rect& r, rdr::InStream* is,
} while (b == 255);

if (end - ptr < len) {
fprintf (stderr, "ZRLE decode error\n");
throw Exception ("ZRLE decode error");
}
}

Loading…
취소
저장