[svn-commits] russell: branch 1.6.2 r262898 - in /branches/1.6.2: ./ channels/chan_console.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Thu May 13 10:36:44 CDT 2010
Author: russell
Date: Thu May 13 10:36:41 2010
New Revision: 262898
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=262898
Log:
Merged revisions 262897 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
........
r262897 | russell | 2010-05-13 10:36:12 -0500 (Thu, 13 May 2010) | 4 lines
Fix an off by one error that causes a crash.
Thanks to Raymond Burke for pointing it out.
........
Modified:
branches/1.6.2/ (props changed)
branches/1.6.2/channels/chan_console.c
Propchange: branches/1.6.2/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.
Modified: branches/1.6.2/channels/chan_console.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.2/channels/chan_console.c?view=diff&rev=262898&r1=262897&r2=262898
==============================================================================
--- branches/1.6.2/channels/chan_console.c (original)
+++ branches/1.6.2/channels/chan_console.c Thu May 13 10:36:41 2010
@@ -1199,7 +1199,7 @@
return CLI_SUCCESS;
}
- if (!(pvt = find_pvt(a->argv[e->args]))) {
+ if (!(pvt = find_pvt(a->argv[e->args - 1]))) {
ast_cli(a->fd, "Could not find a device called '%s'.\n", a->argv[e->args]);
return CLI_FAILURE;
}
More information about the svn-commits
mailing list