projects
/
prosody.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
net.server_select: Add and improve some comments.
[prosody.git]
/
net
/
dns.lua
diff --git
a/net/dns.lua
b/net/dns.lua
index a134ecebc938972a4de8b02074d763eb6f761565..c9c51fe8afd470e5f95cf745669e53f839fea5da 100644
(file)
--- a/
net/dns.lua
+++ b/
net/dns.lua
@@
-223,7
+223,7
@@
end
function dns.random(...) -- - - - - - - - - - - - - - - - - - - dns.random
function dns.random(...) -- - - - - - - - - - - - - - - - - - - dns.random
- math.randomseed(math.floor(10000*socket.gettime()));
+ math.randomseed(math.floor(10000*socket.gettime())
% 0x100000000
);
dns.random = math.random;
return dns.random(...);
end
dns.random = math.random;
return dns.random(...);
end