diff --git a/src/util/inc/tref.h b/src/util/inc/tref.h index 1ac7cd87bdd8b42580b5ef206fbbf1cdf5ceefa9..ead8e2eb90fa0e6e2447a8c1d7da35b6e9747877 100644 --- a/src/util/inc/tref.h +++ b/src/util/inc/tref.h @@ -47,14 +47,15 @@ int taosListRef(); void demoIterateRefs(int refId) { - void *p = taosGetRefNext(refId, NULL); + void *p = taosIterateRef(refId, NULL); while (p) { // process P - p = taosGetRefNext(refId, p); + p = taosIterateRef(refId, p); } } + */ #ifdef __cplusplus