]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FSCORE-389
authorBrian West <brian@freeswitch.org>
Thu, 25 Jun 2009 19:29:34 +0000 (19:29 +0000)
committerBrian West <brian@freeswitch.org>
Thu, 25 Jun 2009 19:29:34 +0000 (19:29 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13964 d0543943-73ff-0310-b7d9-9358b9ac24b2

libs/esl/fs_cli.c
src/switch_console.c

index 49396eb70c693ec3e1ff15ae1354d5c2e1799c12..7b83633c7456e625fb475ea42cf043a2aee7fc94 100644 (file)
@@ -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
index 76dc68bfdf5fd822e0a48ac032f61421dcc6fd4b..58d364e9aeb979a1fb0fc9552bb6efeff60e4b71 100644 (file)
@@ -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);