[OpenSER-Devel] returning 0 from function

Juha Heinanen jh at tutpro.com
Mon Mar 3 09:54:23 CET 2008


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.

-- juha



More information about the Devel mailing list