projects
/
prosody.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge 0.10->trunk
[prosody.git]
/
util
/
uuid.lua
diff --git
a/util/uuid.lua
b/util/uuid.lua
index e10fc0f72290a996c09560632e4c94603dff74fb..f4fd21f64ec72b9fc3e45f2973c9a1d9d9fabeff 100644
(file)
--- a/
util/uuid.lua
+++ b/
util/uuid.lua
@@
-16,7
+16,7
@@
local function get_nibbles(n)
end
local function get_twobits()
- return ("%x"):format(
get_nibbl
es(1):byte() % 4 + 8);
+ return ("%x"):format(
random_byt
es(1):byte() % 4 + 8);
end
local function generate()