projects
/
prosody.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mod_presence: Respond with an unavailable presence when subscribers probe and no...
[prosody.git]
/
net
/
dns.lua
diff --git
a/net/dns.lua
b/net/dns.lua
index 8f943793a47ba1737df6f901b095380b7c195d85..01807d9d961d66f5bcefa43c4382fcfb2fa075e3 100644
(file)
--- a/
net/dns.lua
+++ b/
net/dns.lua
@@
-183,7
+183,7
@@
end
function dns.random(...) -- - - - - - - - - - - - - - - - - - - dns.random
- math.randomseed(
10000*socket.gettime(
));
+ math.randomseed(
math.floor(10000*socket.gettime()
));
dns.random = math.random;
return dns.random(...);
end