Browse Source

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 years ago
parent
commit
2ff61a285e
1 changed files with 0 additions and 2 deletions
  1. 0
    2
      common/rfb/zrleDecode.h

+ 0
- 2
common/rfb/zrleDecode.h View File

} while (b == 255); } while (b == 255);


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


} while (b == 255); } while (b == 255);


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

Loading…
Cancel
Save