Summary: | ASTERISK-03922: [patch] Documentation for manager "redirect" command | ||
Reporter: | Olle Johansson (oej) | Labels: | |
Date Opened: | 2005-04-12 13:45:42 | Date Closed: | 2008-01-15 15:31:34.000-0600 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) manager_redirect.txt | |
Description: | Adds "show manager command redirect" help text Disclaimer on file | ||
Comments: | By: Russell Bryant (russell) 2005-04-12 20:58:01 I know we said that we aren't promising support for older compilers anymore, but this one is an easy fix. The "char buf" should be at the beginning of a block of code. :) @@ -801,7 +815,9 @@ } chan = ast_get_channel_by_name_locked(name); if (!chan) { - astman_send_error(s, m, "Channel not existant"); + char buf[BUFSIZ]; + snprintf(buf, sizeof(buf), "Channel does not exist: %s", name); + astman_send_error(s, m, buf); return 0; } if (!ast_strlen_zero(name2)) By: Kevin P. Fleming (kpfleming) 2005-04-13 00:53:08 Actually, you are misreading the patch :-) The code is organized properly. By: Kevin P. Fleming (kpfleming) 2005-04-13 00:54:17 Committed to CVS, thanks! By: Russell Bryant (russell) 2005-04-13 00:57:25 I guess I should pay attention to those little '-' and '+' characters! ha ... By: Digium Subversion (svnbot) 2008-01-15 15:31:34.000-0600 Repository: asterisk Revision: 5462 U trunk/manager.c ------------------------------------------------------------------------ r5462 | kpfleming | 2008-01-15 15:31:34 -0600 (Tue, 15 Jan 2008) | 2 lines add help text for manager redirect command (bug ASTERISK-3922) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=5462 |