]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
tweak
authorAnthony Minessale <anthony.minessale@gmail.com>
Tue, 15 Dec 2009 00:28:59 +0000 (00:28 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Tue, 15 Dec 2009 00:28:59 +0000 (00:28 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15958 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_console.c

index 557f487b654370472ca7cdb8ce4ce5939ff36851..cf15d9db7acb7fc9a2fe16e5942b0deff2d27a52 100644 (file)
@@ -644,7 +644,6 @@ static void *SWITCH_THREAD_FUNC console_thread(switch_thread_t *thread, void *ob
 
 
 struct helper {
-       EditLine *el;
        int len;
        int hits;
        int words;
@@ -731,7 +730,7 @@ static unsigned char complete(EditLine * el, int ch)
        char *buf = dup;
        char *p, *lp = NULL;
        char *errmsg = NULL;
-       struct helper h = { el };
+       struct helper h = {  0 };
        unsigned char ret = CC_REDISPLAY;
        int pos = 0;