diff --git a/documentation20/webdocs/markdowndocs/advanced features-ch.md b/documentation20/webdocs/markdowndocs/advanced features-ch.md index 688d867affdce7b60d09b0a484107588d3c2fff2..690f2a6268a9fb4d40b2235cb768ec802ef5a118 100644 --- a/documentation20/webdocs/markdowndocs/advanced features-ch.md +++ b/documentation20/webdocs/markdowndocs/advanced features-ch.md @@ -119,7 +119,7 @@ taos_consume taos_unsubscribe ``` -这些API的文档请见 [C/C++ 数据订阅接口](connector/#C/C++-Connector), +这些API的文档请见 [C/C++ Connector](https://www.taosdata.com/cn/documentation20/connector/), 下面仍以智能电表场景为例介绍一下它们的具体用法(超级表和子表结构请参考上一节“连续查询”), 完整的示例代码可以在 [这里](https://github.com/taosdata/TDengine/blob/master/tests/examples/c/subscribe.c) 找到。 diff --git a/src/kit/taosdemo/taosdemo.c b/src/kit/taosdemo/taosdemo.c index a34964cb2ed63b40cd8af152ee1a485aa8be109c..9d46ac505551aae46178eabf43f6e4f25a99ec5a 100644 --- a/src/kit/taosdemo/taosdemo.c +++ b/src/kit/taosdemo/taosdemo.c @@ -251,7 +251,7 @@ typedef struct DemoArguments { void parse_args(int argc, char *argv[], SDemoArguments *arguments) { argp_parse(&argp, argc, argv, 0, 0, &arguments); - if (arguments.abort) { + if (arguments->abort) { #ifndef _ALPINE error(10, 0, "ABORTED"); #else