提交 cd2b387e 编写于 作者: L liu0x54

[TD-154] ban authentication based on failure count

上级 8d935a89
......@@ -164,7 +164,7 @@ int32_t taosTimeSecToString(time_t ts,char* outstr) {
return 1;
}
struct tm *t;
t = localtime(&((time_t)ts));
t = localtime(&ts));
if (NULL == t) return 1;
sprintf(outstr,"%4d-%02d-%02d %02d:%02d:%02d\n", t->tm_year + 1900, t->tm_mon + 1, t->tm_mday, t->tm_hour, t->tm_min, t->tm_sec);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册