Add an S_COR macro, which is similar to the existing S_OR macro,
authorJason Parker <jparker@digium.com>
Tue, 27 Nov 2007 19:12:33 +0000 (19:12 +0000)
committerJason Parker <jparker@digium.com>
Tue, 27 Nov 2007 19:12:33 +0000 (19:12 +0000)
commit35ecd08b46453971d59020099fb638c81afb1312
tree90b8f240dd91b40308ea23009278a402b1c5989a
parentab92fc1f351f4c42b39aba57cd55b660d0a3bfdc
Add an S_COR macro, which is similar to the existing S_OR macro,
 except with an additional boolean arg.

A hack such as:
foo ? S_OR(bar, "baz") : "baz"
becomes:
S_COR(foo, bar, "baz")

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89683 65c4cc65-6c06-0410-ace0-fbb531ad65f3
include/asterisk/strings.h