[net.bugs.uucp] Minor startup bug in uucico

lee@west44.UUCP (Lee McLoughlin) (08/08/84)

If uucico, before finding the protocol to use, has reason to call Turnoff, for
example if a RMESG, RAMESG or WMESG fails while selecting the protocol, then
the result will be a messy error since Turnoff is not initialised till a 
protocol is known.  The simple fix is to make Turnoff refer to a null routine.

About the top of cntrl.c:-
-----------------------------------------------------------------------
extern int imsg(), omsg();
Nooff(){};	/* LMCL: For Turnoff before a protocol is defined */

struct Proto Ptbl[]={
-----------------------------------------------------------------------

A little further down:-
-----------------------------------------------------------------------
int (*Rdmsg)()=imsg, (*Rddata)();
int (*Wrmsg)()=omsg, (*Wrdata)();
int (*Turnon)(), (*Turnoff)() = Nooff;	/* LMCL: Default Turnoff routine */
-----------------------------------------------------------------------
-- 
--------------
Lee McLoughlin	<UK>!ukc!lmcl, west44!lee
	UKUUCP support.