Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
PPSi
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
47
Issues
47
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
PPSi
Commits
fccf2932
Commit
fccf2932
authored
Oct 25, 2018
by
Jean-Claude BAU
Committed by
Adam Wujek
Nov 21, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug fix: Adjust random time-out to 40% of its value (was 50%)
parent
cd3ee739
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
timeout.c
timeout.c
+1
-1
No files found.
timeout.c
View file @
fccf2932
...
...
@@ -117,7 +117,7 @@ void pp_timeout_set(struct pp_instance *ppi, int index)
rval
<<=
10
;
rval
^=
(
unsigned
int
)
(
seed
/
65536
)
%
1024
;
millisec
>>=
1
;
/* keep 5
0% of the reference value */
millisec
=
(
millisec
<<
1
)
/
5
;
/* keep 4
0% of the reference value */
switch
(
to_config
->
which_rand
)
{
case
RAND_70_130
:
/*
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment