diff options
author | Joerg Skottke [jsk] <jsk@openoffice.org> | 2010-07-08 09:41:33 +0200 |
---|---|---|
committer | Joerg Skottke [jsk] <jsk@openoffice.org> | 2010-07-08 09:41:33 +0200 |
commit | 3999cb339afd9a69c36dc82167f050eed65b85fd (patch) | |
tree | f956d85b48c6d956c7dbb0dd3d3adfe0aca4877d /testautomation | |
parent | automationdev300m84: Local merge (diff) | |
download | core-3999cb339afd9a69c36dc82167f050eed65b85fd.tar.gz core-3999cb339afd9a69c36dc82167f050eed65b85fd.zip |
automationdev300m84: #i112935 - The fix is that i check for iRetries being greater equal MAX_RETRIES.
This is against my understanding of the for-next loops internal workings but solves the problem.
Diffstat (limited to 'testautomation')
-rwxr-xr-x | testautomation/global/tools/includes/required/t_tools3.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testautomation/global/tools/includes/required/t_tools3.inc b/testautomation/global/tools/includes/required/t_tools3.inc index 27ac128437ee..f52010f086e4 100755 --- a/testautomation/global/tools/includes/required/t_tools3.inc +++ b/testautomation/global/tools/includes/required/t_tools3.inc @@ -1108,7 +1108,7 @@ function hUseAsyncSlot( cSlot as string ) as integer iTime = iRetries * DELAY ' Timeout is -1 - if ( iRetries = MAX_RETRIES ) then iTime = RC_TIMEOUT + if ( iRetries >= MAX_RETRIES ) then iTime = RC_TIMEOUT if ( GVERBOSE ) then printlog( CFN & "Exit with rc=" & iTime ) hUseAsyncSlot() = iTime |