Files
asterisk/apps
Naveen Albert 2320a96349 app_read: Fix custom terminator functionality regression
Currently, when the t option is specified with no arguments,
the # character is still treated as a terminator, even though
no character should be treated as a terminator.

This is because a previous regression fix was modified to
remove the use of NULL as a default altogether. However,
NULL and an empty string actually refer to different
arrangements and should be treated differently. NULL is the
default terminator (#), while an empty string removes the
terminator altogether. This is the behavior being used by
the rest of the core.

Additionally, since S_OR catches empty strings as well as
NULL (not intended), this is changed to a ternary operator
instead, which fixes the behavior.

ASTERISK-29705 #close

Change-Id: I9b6b72196dd04f5b1e0ab5aa1b0adf627725e086
2021-11-16 15:44:46 -06:00
..
2021-11-16 05:38:29 -06:00
2019-05-10 10:22:55 -06:00
2021-11-16 05:38:29 -06:00
2019-11-19 10:07:44 -05:00
2021-11-16 05:38:29 -06:00
2021-11-16 05:38:29 -06:00
2021-11-16 05:38:29 -06:00
2016-10-27 09:53:55 -04:00
2021-11-16 05:38:29 -06:00
2021-11-16 05:38:29 -06:00
2021-11-16 05:38:29 -06:00
2021-08-19 11:18:30 -05:00
2021-11-16 05:38:29 -06:00
2021-11-16 05:38:29 -06:00
2016-10-27 09:53:55 -04:00
2021-11-16 05:38:29 -06:00
2018-05-11 09:48:58 -04:00
2021-11-16 05:38:29 -06:00
2021-11-16 05:38:29 -06:00
2021-11-16 05:38:29 -06:00
2016-10-27 09:53:55 -04:00