freeswitch-stable: import 1.8.2 from master
[feed/telephony.git] / net / freeswitch-stable / patches / 020-fix-fs_cli-typo.patch
1 commit f76230b16ed6e28847a00e1fa4edd46d19a52251
2 Author: Sebastian Kemper <sebastian_ml@gmx.net>
3 Date: Thu Aug 2 23:38:43 2018 +0200
4
5 FS-11309: [fs_cli] fix typo
6
7 Commit bc3e1c9e7de1855eec454bba467fd2586e5e251b introduced a typo that
8 results in EL_REFRESH never being used, even if available. This can
9 cause the screen to garble.
10
11 This fixes the typo.
12
13 Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
14
15 diff --git a/libs/esl/fs_cli.c b/libs/esl/fs_cli.c
16 index b4a5838175..d52422dd4c 100644
17 --- a/libs/esl/fs_cli.c
18 +++ b/libs/esl/fs_cli.c
19 @@ -674,7 +674,7 @@ static void redisplay(void)
20 esl_mutex_lock(MUTEX);
21 {
22 #ifdef HAVE_LIBEDIT
23 -#ifdef XHAVE_DECL_EL_REFRESH
24 +#ifdef HAVE_DECL_EL_REFRESH
25 #ifdef HAVE_EL_WSET
26 /* Current libedit versions don't implement EL_REFRESH in eln.c so
27 * use the wide version instead. */