mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-23 11:33:09 +00:00
typo
This commit is contained in:
@@ -13,7 +13,5 @@ skynet.start(function()
|
||||
maxclient = max_client,
|
||||
})
|
||||
|
||||
print(skynet.time())
|
||||
|
||||
skynet.exit()
|
||||
end)
|
||||
|
||||
@@ -254,7 +254,7 @@ gettime() {
|
||||
#else
|
||||
struct timeval tv;
|
||||
gettimeofday(&tv, NULL);
|
||||
t = (uint64_t)ti.tv_sec * 100;
|
||||
t = (uint64_t)tv.tv_sec * 100;
|
||||
t += tv.tv_usec / 10000;
|
||||
#endif
|
||||
return t;
|
||||
|
||||
Reference in New Issue
Block a user