mirror of
https://github.com/privacore/open-source-search-engine.git
synced 2025-07-05 01:16:08 -04:00
Fix conversion from string literal to 'char *' for PageStatsdb
This commit is contained in:
@ -53,7 +53,7 @@ static bool s_graphInUse = false;
|
||||
bool sendPageGraph ( TcpSocket *s, HttpRequest *r ) {
|
||||
|
||||
if ( s_graphInUse ) {
|
||||
char *msg = "stats graph calculating for another user. "
|
||||
const char *msg = "stats graph calculating for another user. "
|
||||
"Try again later.";
|
||||
g_httpServer.sendErrorReply(s,500,msg);
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user