From 002e97848c4cd1fb55e31e6a815a83fd838abfeb Mon Sep 17 00:00:00 2001 From: Brian West Date: Thu, 25 Jun 2009 19:29:34 +0000 Subject: [PATCH] FSCORE-389 git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13964 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- libs/esl/fs_cli.c | 1 + src/switch_console.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/libs/esl/fs_cli.c b/libs/esl/fs_cli.c index 49396eb70c..7b83633c74 100644 --- a/libs/esl/fs_cli.c +++ b/libs/esl/fs_cli.c @@ -720,6 +720,7 @@ int main(int argc, char *argv[]) el_set(el, EL_HIST, history, myhistory); history(myhistory, &ev, H_LOAD, hfile); + el_source(el, NULL); #endif #ifdef WIN32 diff --git a/src/switch_console.c b/src/switch_console.c index 76dc68bfdf..58d364e9ae 100644 --- a/src/switch_console.c +++ b/src/switch_console.c @@ -802,6 +802,8 @@ SWITCH_DECLARE(void) switch_console_loop(void) el_set(el, EL_HIST, history, myhistory); history(myhistory, &ev, H_LOAD, hfile); + el_source(el, NULL); + switch_threadattr_create(&thd_attr, pool); switch_threadattr_detach_set(thd_attr, 1); switch_threadattr_stacksize_set(thd_attr, SWITCH_THREAD_STACKSIZE);