From e48e6c40e75bdc4c3a2d04df196a3d66d965353b Mon Sep 17 00:00:00 2001 From: Cloud Wu Date: Mon, 21 Aug 2017 21:49:36 +0800 Subject: [PATCH] use \0 instead of . --- lualib/skynet/datasheet/builder.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lualib/skynet/datasheet/builder.lua b/lualib/skynet/datasheet/builder.lua index 2600ed55..48ef0302 100644 --- a/lualib/skynet/datasheet/builder.lua +++ b/lualib/skynet/datasheet/builder.lua @@ -12,7 +12,7 @@ local address local unique_id = 0 local function unique_string(str) unique_id = unique_id + 1 - return str .. ("." .. tostring(unique_id)) + return str .. ("\0" .. tostring(unique_id)) end local function monitor(pointer)