Files
asterisk/main
Naveen Albert 3c4b7cef64 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 07:15:54 -05:00
..
2021-11-15 15:28:45 -06:00
2021-11-15 15:28:45 -06:00
2021-11-15 15:28:45 -06:00
2020-05-05 10:06:43 -05:00
2020-05-05 10:06:43 -05:00
2021-11-15 15:28:45 -06:00
2021-11-15 15:28:45 -06:00
2021-11-15 15:28:45 -06:00
2021-11-15 15:28:45 -06:00
2021-11-15 15:28:45 -06:00
2021-11-15 15:28:45 -06:00
2020-04-06 10:23:20 -05:00
2021-11-15 15:28:45 -06:00
2021-11-15 15:28:45 -06:00
2021-11-15 15:28:45 -06:00
2021-11-15 15:28:45 -06:00
2021-11-15 15:28:45 -06:00
2021-11-15 15:28:45 -06:00
2021-07-16 10:24:10 -05:00
2021-11-15 15:28:45 -06:00
2021-11-15 15:28:45 -06:00
2020-10-12 10:50:26 -05:00
2021-11-15 15:28:45 -06:00
2012-03-22 19:51:16 +00:00
2020-06-10 09:33:28 -05:00
2021-11-15 15:28:45 -06:00
2021-11-15 15:28:45 -06:00
2021-11-15 15:28:45 -06:00
2021-11-15 15:28:45 -06:00
2021-11-15 15:28:45 -06:00
2020-08-18 05:26:24 -05:00
2021-11-15 15:28:45 -06:00
2021-11-15 15:28:45 -06:00
2021-11-15 15:28:45 -06:00
2020-06-10 09:33:28 -05:00
2021-11-15 15:28:45 -06:00
2017-12-20 12:40:01 -05:00
2021-11-15 15:28:45 -06:00
2021-11-15 15:28:45 -06:00
2021-11-15 15:28:45 -06:00
2021-11-15 15:28:45 -06:00
2021-11-15 15:28:45 -06:00
2021-11-15 15:28:45 -06:00
2021-11-15 15:28:45 -06:00
2021-11-15 15:28:45 -06:00
2021-11-15 15:28:45 -06:00
2021-11-15 15:28:45 -06:00
2021-11-15 15:28:45 -06:00
2021-11-15 15:28:45 -06:00
2018-06-23 08:26:19 +02:00
2018-07-23 06:47:20 -05:00