]> git.ipfire.org Git - thirdparty/freeswitch.git/commit
Fixed dead code.
authorKathleen King <kathleen.king@quentustech.com>
Fri, 4 Jul 2014 00:03:01 +0000 (17:03 -0700)
committerKathleen King <kathleen.king@quentustech.com>
Fri, 4 Jul 2014 00:03:01 +0000 (17:03 -0700)
commit2d85726ecd5bfb42de0563cdead31eaed21a303b
treef0d9256818f5103b8588b52ed3f72228568dae8f
parent85699480b3318978f724d6aec3fe00b742a6db78
Fixed dead code.

While reviewing code I noticed some dead code. It was not possible to
default to the channel variable because the parameter could not be
both full and empty.

If the parameter is not a non zero length string then the code looked
like it was intending to default to the channel variable
'presence_data_cols'. If neither of these are the case it is a noop.

By enabling the dead code, you now have access to set the
'presence_data_cols' in the dialplan or scripts like lua.
src/switch_channel.c