[svn-commits] jpeeler: branch 1.6.2 r238586 - in /branches/1.6.2: ./ main/features.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Fri Jan 8 11:20:08 CST 2010
Author: jpeeler
Date: Fri Jan 8 11:20:04 2010
New Revision: 238586
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=238586
Log:
Merged revisions 238583 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
........
r238583 | jpeeler | 2010-01-08 11:18:41 -0600 (Fri, 08 Jan 2010) | 5 lines
Stop trying to find a parking space after traversing the parkinglot one time.
(closes issue #16428)
Reported by: Yasuhiro Konishi
........
Modified:
branches/1.6.2/ (props changed)
branches/1.6.2/main/features.c
Propchange: branches/1.6.2/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.
Modified: branches/1.6.2/main/features.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.2/main/features.c?view=diff&rev=238586&r1=238585&r2=238586
==============================================================================
--- branches/1.6.2/main/features.c (original)
+++ branches/1.6.2/main/features.c Fri Jan 8 11:20:04 2010
@@ -635,7 +635,7 @@
for (i = start; 1; i++) {
if (i == parkinglot->parking_stop + 1) {
i = parkinglot->parking_start - 1;
- continue;
+ break;
}
AST_LIST_TRAVERSE(&parkinglot->parkings, cur, list) {
@@ -643,8 +643,7 @@
break;
}
}
-
- if (!cur || i == start - 1) {
+ if (!cur) {
parking_space = i;
break;
}
More information about the svn-commits
mailing list