提交 e8d24c23 编写于 作者: sangshuduo's avatar sangshuduo

fix mistake range.

上级 a0f8985e
...@@ -485,7 +485,7 @@ static error_t parse_opt(int key, char *arg, struct argp_state *state) { ...@@ -485,7 +485,7 @@ static error_t parse_opt(int key, char *arg, struct argp_state *state) {
} }
uint64_t port = atoi(arg); uint64_t port = atoi(arg);
if (port > 655325) { if (port > 65535) {
errorWrongValue("taosdump", "-P or --port", arg); errorWrongValue("taosdump", "-P or --port", arg);
exit(EXIT_FAILURE); exit(EXIT_FAILURE);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册