fix: websocket mode test
This commit is contained in:
parent
18a669219e
commit
40c99f2355
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue