Re: SOUPER Return Code?

Chris Green (cgreen@dircon.co.uk)
Sat, 27 Apr 1996 18:41:21 +0100 (BST)

On Fri, 26 Apr 1996, Alberto Velo wrote:

> >There's a *very* simple change to the source code you can do to fix
> >this, I have just sent the change to Chin so, hopefully, it may get
> >incorporated in the next version of Souper.
> >
> >If you want I can E-Mail you an executable with the fix, or the source
> >to change if you have a C compiler.
>
> I'd like to see the source code :)
>
Well I *think* the change that works the magic is simply as follows:-

Change the line in souper.c that is currently:-

getNews();

to:-

if (getNews() == 0) return 1;

As I said I think that's all there is to it, if getnews() returns an
error then souper itself does too. If this doesn't work still then
I'll need to go and look at my other changes, there are a few others
but I seem to remember they were just to prduce more wordy error
messages.

-- 
Chris Green at The Direct Connection cgreen@dircon.co.uk
  Home: chris@isbd.demon.co.uk    CIX: cgreen@cix.compulink.co.uk
  Work: cgreen@bcs.org.uk         Compuserve:          100023,657