Merge "manager: Fix build due to missing variable usage."
authorMatt Jordan <mjordan@digium.com>
Wed, 6 May 2015 12:06:11 +0000 (07:06 -0500)
committerGerrit Code Review <gerrit2@gerrit.digium.api>
Wed, 6 May 2015 12:06:11 +0000 (07:06 -0500)
main/manager.c

index 846f6e6..17a2738 100644 (file)
@@ -8981,7 +8981,8 @@ static int __init_manager(int reload, int by_external_config)
 
                                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") ) {