git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8535 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2008-05-23 02:50:14 +00:00
parent bcf37faf52
commit 7a36d978a1

View File

@ -525,7 +525,7 @@ static unsigned char complete(EditLine *el, int ch)
if (h.words == 0) {
stream.write_function(&stream,
"select distinct a1 from complete where "
"a1 not in (select name from interfaces) and ");
"a1 not in (select name from interfaces) %s ", argc ? "and" : "");
} else {
stream.write_function(&stream,
"select distinct a%d from complete where ", h.words + 1);