From: Travis Cross Date: Thu, 22 Sep 2011 05:28:14 +0000 (+0000) Subject: fs_cli: tell el_init() about stdin and stderr X-Git-Tag: v1.2-rc1~51^2~33 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=73d7e5a3646d5f7ea4d43554f71a44652ff7378d;p=thirdparty%2Ffreeswitch.git fs_cli: tell el_init() about stdin and stderr --- diff --git a/libs/esl/fs_cli.c b/libs/esl/fs_cli.c index d98edd267e..ecc40f37fd 100644 --- a/libs/esl/fs_cli.c +++ b/libs/esl/fs_cli.c @@ -1164,7 +1164,7 @@ int main(int argc, char *argv[]) esl_thread_create_detached(msg_thread_run, &handle); #ifdef HAVE_EDITLINE - el = el_init(__FILE__, stdout, stdout, stdout); + el = el_init(__FILE__, stdin, stdout, stderr); el_set(el, EL_PROMPT, &prompt); el_set(el, EL_EDITOR, "emacs");