mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-24 12:20:41 +00:00
use \0 instead of .
This commit is contained in:
@@ -12,7 +12,7 @@ local address
|
|||||||
local unique_id = 0
|
local unique_id = 0
|
||||||
local function unique_string(str)
|
local function unique_string(str)
|
||||||
unique_id = unique_id + 1
|
unique_id = unique_id + 1
|
||||||
return str .. ("." .. tostring(unique_id))
|
return str .. ("\0" .. tostring(unique_id))
|
||||||
end
|
end
|
||||||
|
|
||||||
local function monitor(pointer)
|
local function monitor(pointer)
|
||||||
|
|||||||
Reference in New Issue
Block a user