Fixed wrong nanosecond factor 10E6.
commit19d095717f656d844cd9d696d9c921a0821a5ea7
authorIvan Delalande <colona@ycc.fr>
Thu, 26 Jun 2014 02:30:43 +0000 (26 04:30 +0200)
committerRoberto E. Vargas Caballero <k0ga@shike2.com>
Thu, 26 Jun 2014 10:33:55 +0000 (26 12:33 +0200)
tree71ab0f9a40414079253c2cfe435cdfaa4482ec30
parent5edeec1b20fcb5900d4f1408594d1e76b6c544f0
Fixed wrong nanosecond factor 10E6.

Commit 5edeec1 introduced a wrong factor for nanosecond computation, the correct
value is 1E6. Time and timeout values are 10 times less than they should be and
this cause high CPU usage.

Reported by pyroh on IRC. Thanks!

Signed-off-by: Roberto E. Vargas Caballero <k0ga@shike2.com>
st.c