fix: websocket mode test

This commit is contained in:
Alex Duan 2024-03-14 12:56:59 +08:00
parent 18a669219e
commit 40c99f2355
1 changed files with 4 additions and 1 deletions

View File

@ -1373,10 +1373,12 @@ bool community = shellGetGrantInfo(buf);
#ifndef WINDOWS
printfIntroduction(community);
#else
#ifndef WEBSOCKET
if(community) {
showAD(false)
}
#endif
#endif
// printf version
if(!community) {
printf("%s\n", buf);
@ -1394,11 +1396,12 @@ if(!community) {
break;
}
}
#ifndef WEBSOCKET
// commnuity
if (community) {
showAD(true);
}
#endif
taosThreadJoin(spid, NULL);