[svn-commits] seanbright: branch group/1.6.1-maintenance r263199 - in /team/group/1.6.1-mai...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Fri May 14 15:23:39 CDT 2010


Author: seanbright
Date: Fri May 14 15:23:36 2010
New Revision: 263199

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=263199
Log:
Merged revisions 262897 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
  r262897 | russell | 2010-05-13 11:36:12 -0400 (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:
    team/group/1.6.1-maintenance/   (props changed)
    team/group/1.6.1-maintenance/channels/chan_console.c

Propchange: team/group/1.6.1-maintenance/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.

Modified: team/group/1.6.1-maintenance/channels/chan_console.c
URL: http://svnview.digium.com/svn/asterisk/team/group/1.6.1-maintenance/channels/chan_console.c?view=diff&rev=263199&r1=263198&r2=263199
==============================================================================
--- team/group/1.6.1-maintenance/channels/chan_console.c (original)
+++ team/group/1.6.1-maintenance/channels/chan_console.c Fri May 14 15:23:36 2010
@@ -1201,7 +1201,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