[Asterisk-code-review] manager: Fix build due to missing variable usage. (asterisk[master])

Joshua Colp asteriskteam at digium.com
Wed May 6 04:34:16 CDT 2015


Joshua Colp has uploaded a new change for review.

  https://gerrit.asterisk.org/376

Change subject: manager: Fix build due to missing variable usage.
......................................................................

manager: Fix build due to missing variable usage.

Change-Id: I26d4d2cb9cee924632ff59ef0b30a7e6a1e2b00d
---
M main/manager.c
1 file changed, 2 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/76/376/1

diff --git a/main/manager.c b/main/manager.c
index 846f6e6..17a2738 100644
--- a/main/manager.c
+++ b/main/manager.c
@@ -8981,7 +8981,8 @@
 
 				ast_append_acl(var->name, var->value, &user->acl, &acl_error, &acl_subscription_flag);
 				if (acl_error) {
-					ast_log(LOG_ERROR, "Invalid ACL '%s' for manager user '%s' on line %d. Deleting user\n");
+					ast_log(LOG_ERROR, "Invalid ACL '%s' for manager user '%s' on line %d. Deleting user\n",
+						var->value, user->username, var->lineno);
 					user->keep = 0;
 				}
 			}  else if (!strcasecmp(var->name, "read") ) {

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I26d4d2cb9cee924632ff59ef0b30a7e6a1e2b00d
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Owner: Joshua Colp <jcolp at digium.com>



More information about the asterisk-code-review mailing list