[asterisk-commits] qwell: trunk r51249 - /trunk/main/cli.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Thu Jan 18 12:03:26 MST 2007
Author: qwell
Date: Thu Jan 18 13:03:25 2007
New Revision: 51249
URL: http://svn.digium.com/view/asterisk?view=rev&rev=51249
Log:
Fix filename completion for "module load" and "load" CLI commands.
Issue 8846
Modified:
trunk/main/cli.c
Modified: trunk/main/cli.c
URL: http://svn.digium.com/view/asterisk/trunk/main/cli.c?view=diff&rev=51249&r1=51248&r2=51249
==============================================================================
--- trunk/main/cli.c (original)
+++ trunk/main/cli.c Thu Jan 18 13:03:25 2007
@@ -120,7 +120,7 @@
return NULL;
case CLI_GENERATE:
- if (a->argc != e->args + 1)
+ if (a->pos != e->args)
return NULL;
return complete_fn(a->word, a->n);
}
More information about the asterisk-commits
mailing list