Daniel-Constantin Mierla wrote:
You *can* tell the recursive call to properly return the retcode. Instead of "return(route(2))", enumerate all possible return codes after the recursive call (inside route[2]) and call return with the same retcode:
instead of all these if-else statements you can use the 'switch' statement. http://openser.org/dokuwiki/doku.php?id=openser_core_cookbook#switch
Oh, yes, thanks alot...
Andy