Merge "cdr_pgsql: Fix CLI "cdr show pgsql status" command."

This commit is contained in:
Matt Jordan
2015-04-14 11:39:55 -05:00
committed by Gerrit Code Review

View File

@@ -143,7 +143,7 @@ static char *handle_cdr_pgsql_status(struct ast_cli_entry *e, int cmd, struct as
return NULL; return NULL;
} }
if (a->argc != 3) if (a->argc != e->args)
return CLI_SHOWUSAGE; return CLI_SHOWUSAGE;
if (connected) { if (connected) {