[Asterisk-code-review] Change in asterisk[master]: Fix command on cli "cdr show pgsql status", because always s...

Rodrigo Ramirez Norambuena (Code Review) asteriskteam at digium.com
Tue Apr 14 10:00:27 CDT 2015


Rodrigo Ramirez Norambuena has uploaded a new change for review.

  https://gerrit.asterisk.org/106

Change subject: Fix command on cli "cdr show pgsql status", because always show as use text. Error on validate for CLI_SHOWUSAGE
......................................................................

Fix command on cli "cdr show pgsql status", because always show as use text.
Error on validate for CLI_SHOWUSAGE

Change-Id: I584f0936bb01001336a468a55c1d05d79fe795d5
---
M cdr/cdr_pgsql.c
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/06/106/1

diff --git a/cdr/cdr_pgsql.c b/cdr/cdr_pgsql.c
index 0c025ad..310411c 100644
--- a/cdr/cdr_pgsql.c
+++ b/cdr/cdr_pgsql.c
@@ -143,7 +143,7 @@
 		return NULL;
 	}
 
-	if (a->argc != 3)
+	if (a->argc != e->args)
 		return CLI_SHOWUSAGE;
 
 	if (connected) {

-- 
To view, visit https://gerrit.asterisk.org/106
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I584f0936bb01001336a468a55c1d05d79fe795d5
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Owner: Rodrigo Ramirez Norambuena <decipher.hk at gmail.com>



More information about the asterisk-code-review mailing list