fix:build error
This commit is contained in:
parent
cca0bf6af0
commit
ef553bf210
|
@ -1198,10 +1198,10 @@ bool shellGetGrantInfo(char* buf) {
|
||||||
community = true;
|
community = true;
|
||||||
} else if (strcmp(expiretime, "unlimited") == 0) {
|
} else if (strcmp(expiretime, "unlimited") == 0) {
|
||||||
community = false;
|
community = false;
|
||||||
fprintf(buf, "Server is Enterprise %s Edition, %s and will never expire.\r\n", serverVersion, sinfo);
|
sprintf(buf, "Server is Enterprise %s Edition, %s and will never expire.\r\n", serverVersion, sinfo);
|
||||||
} else {
|
} else {
|
||||||
community = false;
|
community = false;
|
||||||
fprintf(buf, "Server is Enterprise %s Edition, %s and will expire at %s.\r\n", serverVersion, sinfo,
|
sprintf(buf, "Server is Enterprise %s Edition, %s and will expire at %s.\r\n", serverVersion, sinfo,
|
||||||
expiretime);
|
expiretime);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1379,7 +1379,7 @@ bool community = shellGetGrantInfo(buf);
|
||||||
#endif
|
#endif
|
||||||
// printf version
|
// printf version
|
||||||
if(!community) {
|
if(!community) {
|
||||||
printf(buf);
|
printf("%s", buf);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef WEBSOCKET
|
#ifdef WEBSOCKET
|
||||||
|
|
Loading…
Reference in New Issue