[ 
https://issues.apache.org/jira/browse/AXIS2C-1009?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Senaka Fernando resolved AXIS2C-1009.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: Current (Nightly)

Fixed Issue

> Generated Random Number Equals 1 if the difference in range of 
> axutil_rand_with_range() is 1
> --------------------------------------------------------------------------------------------
>
>                 Key: AXIS2C-1009
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-1009
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: util
>    Affects Versions: 1.3.0
>            Reporter: Senaka Fernando
>            Assignee: Senaka Fernando
>             Fix For: Current (Nightly)
>
>
> Generated Random Number Equals 1 if the difference in range of 
> axutil_rand_with_range() is 1. To fix this,
> rand = 1 + (int) (range * rand / (AXIS2_RAND_MAX + 1.0)); should be replaced 
> by, rand = start + (int) (range * rand / (AXIS2_RAND_MAX + 1.0));

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to