Assume EXTCMD is set when GZ or BZ2 is active
This commit is contained in:
parent
df7661b941
commit
e9379b22dc
@ -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
|
||||
|
||||
|
@ -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");
|
||||
}
|
||||
}
|
||||
#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");
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user