[OpenSER-Devel] returning 0 from function
Iñaki Baz Castillo
ibc at in.ilimit.es
Mon Mar 3 10:09:44 CET 2008
El Monday 03 March 2008 09:54:23 Juha Heinanen escribió:
> Daniel-Constantin Mierla writes:
> > perhaps going to clear return codes handling will be better. Since the
> > beginning of ser, the meaning of return codes was:
> > - greater than 0 was considered true
> > - less than 0 was considered false
> > - 0 was considered exit.
> >
> > Now it is about backward compatibility on a hand and clear and better
> > understanding return code handling on the other hand. Perhaps a debate
> > on devel/users will make decision easier.
>
> my vote is to remove the "0 equals exit" option.
I don't like that "0 equals exit" at all.
--
Iñaki Baz Castillo
ibc at in.ilimit.es
More information about the Devel
mailing list