[asterisk-dev] RFC - add this S_OR macro to strings.h ?

Kevin P. Fleming kpfleming at digium.com
Thu Mar 23 12:53:14 MST 2006


BJ Weschke wrote:

>  +1 - I think that's a cool idea.

I think it's a good idea as well, but I'm not keen on S_OR as the
name... it doesn't lend itself to knowing what it does at all.

The name should be something that indicates it selects the first
non-empty string from the arguments... whatever you can come up with :-)



More information about the asterisk-dev mailing list