Extra debug logging

This commit is contained in:
Michiel Broek 2005-08-20 15:30:30 +00:00
parent 38d030b4e0
commit ab85f7c3c2

View File

@ -1268,6 +1268,7 @@ TrType binkp_receiver(void)
* Receive stream compressed data * Receive stream compressed data
*/ */
if (z_idata == NULL) { if (z_idata == NULL) {
Syslog('b', "Binkp: decompress_init start");
if (decompress_init(bp.rmode)) { if (decompress_init(bp.rmode)) {
Syslog('+', "Binkp: can't init decompress"); Syslog('+', "Binkp: can't init decompress");
bp.RxState = RxDone; bp.RxState = RxDone;
@ -1479,6 +1480,7 @@ TrType binkp_transmitter(void)
if ((tmp->compress == CompGZ) || (tmp->compress == CompBZ2)) { if ((tmp->compress == CompGZ) || (tmp->compress == CompBZ2)) {
bp.tmode = tmp->compress; bp.tmode = tmp->compress;
Syslog('b', "Binkp: compress_init start");
if ((rc1 = compress_init(bp.tmode))) { if ((rc1 = compress_init(bp.tmode))) {
Syslog('+', "Binkp: compress_init failed (rc=%d)", rc1); Syslog('+', "Binkp: compress_init failed (rc=%d)", rc1);
tmp->compress = CompNone; tmp->compress = CompNone;