[OpenSER-Devel] returning 0 from function

Juha Heinanen jh at tutpro.com
Mon Mar 3 09:38:47 CET 2008


Daniel-Constantin Mierla writes:

 > by returning 0, the execution of the script is interrupted -- same 
 > behavior as 'exit'.

that is what i suspected.  in my opinion there is too much "under cover"
things happening here.  it would be easier to debug and understand
things if script would not terminate implicitly like this, but only if
explicitly terminated by 'exit' or running out from the last route
block.

-- juha



More information about the Devel mailing list