[svn-commits] seanbright: branch seanbright/editline-update r253918 - /team/seanbright/edit...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Mar 23 09:23:07 CDT 2010


Author: seanbright
Date: Tue Mar 23 09:23:03 2010
New Revision: 253918

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=253918
Log:
Use AST_EDITMODE for our environment variable instead of AST_EDITOR.

Suggested by tzafrir.

(issue #15929)
Reported by: kkm

Modified:
    team/seanbright/editline-update/main/asterisk.c

Modified: team/seanbright/editline-update/main/asterisk.c
URL: http://svnview.digium.com/svn/asterisk/team/seanbright/editline-update/main/asterisk.c?view=diff&rev=253918&r1=253917&r2=253918
==============================================================================
--- team/seanbright/editline-update/main/asterisk.c (original)
+++ team/seanbright/editline-update/main/asterisk.c Tue Mar 23 09:23:03 2010
@@ -2512,7 +2512,7 @@
 static int ast_el_initialize(void)
 {
 	HistEvent ev;
-	char *editor = getenv("AST_EDITOR");
+	char *editor = getenv("AST_EDITMODE");
 
 	if (el != NULL)
 		el_end(el);




More information about the svn-commits mailing list