diff --git a/ChangeLog b/ChangeLog index 6e9f9579..ffb448b5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -7,6 +7,9 @@ v0.83.11 28-Jan-2006 will completly restart the connection with that remote. Made several functions multithread aware (still not Ok). + mbcico: + Assume EXTCMD is set when GZ or BZ2 is active. + v0.83.10 25-Jan-2006 - 28-Jan-2006 diff --git a/mbcico/binkp.c b/mbcico/binkp.c index 85b05e2c..bb70004b 100644 --- a/mbcico/binkp.c +++ b/mbcico/binkp.c @@ -2085,23 +2085,15 @@ void binkp_set_comp_state(void) #ifdef HAVE_BZLIB_H Syslog('b', "Binkp: BZ2 they=%s we=%s", opstate[bp.BZ2they], opstate[bp.BZ2we]); if ((bp.BZ2they == Want) && (bp.BZ2we == Want)) { - if (bp.EXTCMDwe == Active) { - Syslog('+', "Binkp: BZ2 compression active"); - bp.BZ2we = bp.BZ2they = Active; - } else { - Syslog('!', "Binkp: received BZ2 option without EXTCMD option"); - } + Syslog('+', "Binkp: BZ2 compression active"); + bp.BZ2we = bp.BZ2they = Active; } #endif #ifdef HAVE_ZLIB_H Syslog('b', "Binkp: GZ they=%s we=%s", opstate[bp.GZthey], opstate[bp.GZwe]); if ((bp.GZthey == Want) && (bp.GZwe == Want)) { - if (bp.EXTCMDwe == Active) { - bp.GZwe = bp.GZthey = Active; - Syslog('+', "Binkp: GZ compression active"); - } else { - Syslog('!', "Binkp: received GZ option without EXTCMD option"); - } + bp.GZwe = bp.GZthey = Active; + Syslog('+', "Binkp: GZ compression active"); } #endif