[Asterisk-code-review] app queue.c: Fix error checking in QUEUE MEMBER() read. (asterisk[13])

Ashley Sanders asteriskteam at digium.com
Thu Aug 20 11:25:14 CDT 2015


Ashley Sanders has posted comments on this change.

Change subject: app_queue.c: Fix error checking in QUEUE_MEMBER() read.
......................................................................


Patch Set 2:

(2 comments)

https://gerrit.asterisk.org/#/c/1106/2/apps/app_queue.c
File apps/app_queue.c:

Line 8097: 
         : 
         : 
> I changed this message because listing all the valid values was a bit redic
Okay, that makes sense.


Line 8015: if (ast_strlen_zero(interface)) {
         : 		ast_log(LOG_ERROR, "QUEUE_MEMBER: Missing required interface argument.\n");
         : 		return NULL;
         : 	}
         : 
         : 	m = interface_exists(q, interface);
         : 	if (!m) {
         : 		ast_log(LOG_ERROR, "Queue member interface '%s' not in queue '%s'.\n",
         : 			interface, q->name);
         : 	}
> Consistency is good.  It wasn't the goal of the patch because I wasn't thin
That's fine, but these look like new messages and for new messages, I would think that would be an easy place to start.


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

Gerrit-MessageType: comment
Gerrit-Change-Id: I7294e13d27875851c2f4ef6818adba507509d224
Gerrit-PatchSet: 2
Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-Owner: Richard Mudgett <rmudgett at digium.com>
Gerrit-Reviewer: Anonymous Coward #1000019
Gerrit-Reviewer: Ashley Sanders <asanders at digium.com>
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Mark Michelson <mmichelson at digium.com>
Gerrit-Reviewer: Matt Jordan <mjordan at digium.com>
Gerrit-Reviewer: Richard Mudgett <rmudgett at digium.com>
Gerrit-Reviewer: Scott Griepentrog <sgriepentrog at digium.com>
Gerrit-HasComments: Yes



More information about the asterisk-code-review mailing list