From 5055afc9d3f79950e3d5efe23a128900917471e9 Mon Sep 17 00:00:00 2001 From: Michiel Broek Date: Tue, 6 Sep 2005 18:39:14 +0000 Subject: [PATCH] Fixed compile without --enable-experiment --- mbcico/binkp.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/mbcico/binkp.c b/mbcico/binkp.c index d1fd7a61..d6a5896a 100644 --- a/mbcico/binkp.c +++ b/mbcico/binkp.c @@ -277,7 +277,9 @@ int binkp(int role) bp.remote_EOB = FALSE; bp.msgs_on_queue = 0; bp.cmpblksize = SND_BLKSIZE; +#ifdef USE_EXPERIMENT bp.EXTCMDwe = bp.EXTCMDthey = No; /* Default */ +#endif #ifdef HAVE_ZLIB_H if (localoptions & NOPLZ) bp.PLZthey = bp.PLZwe = No; @@ -2032,10 +2034,12 @@ int binkp_send_comp_opts(void) if (plz || gz || bz2) { p = xstrcpy((char *)"OPT"); +#ifdef USE_EXPERIMENT if (bz2 || gz) { bp.EXTCMDwe = Want; p = xstrcat(p, (char *)" EXTCMD"); } +#endif if (gz) p = xstrcat(p, (char *)" GZ"); if (bz2) @@ -2053,8 +2057,8 @@ int binkp_send_comp_opts(void) void binkp_set_comp_state(void) { - Syslog('b', "Binkp: EXTCMD they=%s we=%s", opstate[bp.EXTCMDthey], opstate[bp.EXTCMDwe]); #ifdef USE_EXPERIMENT + Syslog('b', "Binkp: EXTCMD they=%s we=%s", opstate[bp.EXTCMDthey], opstate[bp.EXTCMDwe]); if ((bp.EXTCMDthey == Want) && (bp.EXTCMDwe == Want)) { Syslog('+', "Binkp: EXTCMD is active"); bp.EXTCMDthey = bp.EXTCMDwe = Active;