[Asterisk-code-review] utils.c: Fix typo in handle show locks (asterisk[13])

Joshua Colp asteriskteam at digium.com
Fri Apr 1 16:50:40 CDT 2016


Joshua Colp has submitted this change and it was merged.

Change subject: utils.c:  Fix typo in handle_show_locks
......................................................................


utils.c:  Fix typo in handle_show_locks

ast_cli_allow_on_shutdown(e) should have been ast_cli_allow_at_shutdown(e).

Change-Id: I4f092495c0b2bfd85c2651e0b5877bf4d05d9faf
---
M main/utils.c
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Kevin Harwell: Looks good to me, but someone else must approve
  Richard Mudgett: Looks good to me, but someone else must approve
  Joshua Colp: Looks good to me, approved; Verified



diff --git a/main/utils.c b/main/utils.c
index 686af6b..9a400d9 100644
--- a/main/utils.c
+++ b/main/utils.c
@@ -1158,7 +1158,7 @@
 			"Usage: core show locks\n"
 			"       This command is for lock debugging.  It prints out which locks\n"
 			"are owned by each active thread.\n";
-		ast_cli_allow_on_shutdown(e);
+		ast_cli_allow_at_shutdown(e);
 		return NULL;
 
 	case CLI_GENERATE:

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I4f092495c0b2bfd85c2651e0b5877bf4d05d9faf
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-Owner: George Joseph <george.joseph at fairview5.com>
Gerrit-Reviewer: Anonymous Coward #1000019
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Kevin Harwell <kharwell at digium.com>
Gerrit-Reviewer: Richard Mudgett <rmudgett at digium.com>



More information about the asterisk-code-review mailing list