Undone change from Sparc machine

This commit is contained in:
Michiel Broek 2005-08-15 19:17:28 +00:00
parent ab9b292885
commit cfb6619e54

View File

@ -5,7 +5,7 @@
* Binkp protocol copyright : Dima Maloff. * Binkp protocol copyright : Dima Maloff.
* *
***************************************************************************** *****************************************************************************
* Copyright (C) 1997-2004 * Copyright (C) 1997-2005
* *
* Michiel Broek FIDO: 2:280/2802 * Michiel Broek FIDO: 2:280/2802
* Beekmansbos 10 * Beekmansbos 10
@ -1285,7 +1285,7 @@ TrType binkp_receiver(void)
bp.RxState = RxDone; bp.RxState = RxDone;
return Failure; return Failure;
} else { } else {
Syslog('b', "Binkp: %d bytes of data decompressed to %d", nput, zavail); // Syslog('b', "Binkp: %d bytes of data decompressed to %d", nput, zavail);
} }
if (zavail != 0 && fwrite(zbuf, zavail, 1, bp.rxfp) < 1) { if (zavail != 0 && fwrite(zbuf, zavail, 1, bp.rxfp) < 1) {
Syslog('+', "$Binkp: write error"); Syslog('+', "$Binkp: write error");
@ -1300,7 +1300,7 @@ TrType binkp_receiver(void)
bp.rxcompressed += zavail - nput; bp.rxcompressed += zavail - nput;
} }
bp.blklen = written; /* Correct physical to virtual blocklength */ bp.blklen = written; /* Correct physical to virtual blocklength */
Syslog('b', "Binkp: set bp.blklen %d rc=%d", written, rc1); // Syslog('b', "Binkp: set bp.blklen %d rc=%d", written, rc1);
if (rc1 == 1) { if (rc1 == 1) {
if ((rc1 = decompress_deinit(bp.rmode, bp.z_idata)) < 0) if ((rc1 = decompress_deinit(bp.rmode, bp.z_idata)) < 0)
Syslog('+', "Binkp: decompress_deinit retcode %d", rc1); Syslog('+', "Binkp: decompress_deinit retcode %d", rc1);