[asterisk-commits] mmichelson: branch 1.6.0 r114630 - in /branches/1.6.0: ./ apps/app_queue.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Apr 24 15:44:37 CDT 2008
Author: mmichelson
Date: Thu Apr 24 15:44:37 2008
New Revision: 114630
URL: http://svn.digium.com/view/asterisk?view=rev&rev=114630
Log:
Merged revisions 114629 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
................
r114629 | mmichelson | 2008-04-24 15:43:52 -0500 (Thu, 24 Apr 2008) | 16 lines
Merged revisions 114628 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r114628 | mmichelson | 2008-04-24 15:43:03 -0500 (Thu, 24 Apr 2008) | 8 lines
Output of channel variables when eventwhencalled=vars was set
was being truncated two characters. This patch corrects the
problem.
(closes issue #12493)
Reported by: davidw
........
................
Modified:
branches/1.6.0/ (props changed)
branches/1.6.0/apps/app_queue.c
Propchange: branches/1.6.0/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.
Modified: branches/1.6.0/apps/app_queue.c
URL: http://svn.digium.com/view/asterisk/branches/1.6.0/apps/app_queue.c?view=diff&rev=114630&r1=114629&r2=114630
==============================================================================
--- branches/1.6.0/apps/app_queue.c (original)
+++ branches/1.6.0/apps/app_queue.c Thu Apr 24 15:44:37 2008
@@ -2070,10 +2070,10 @@
j += 9;
}
}
- if (j > len - 1)
- j = len - 1;
- vars[j - 2] = '\r';
- vars[j - 1] = '\n';
+ if (j > len - 3)
+ j = len - 3;
+ vars[j++] = '\r';
+ vars[j++] = '\n';
vars[j] = '\0';
} else {
/* there are no channel variables; leave it blank */
More information about the asterisk-commits
mailing list