MXS-1929: Output const strings from serviceGetUser

The values aren't meant to be modified by the caller.
This commit is contained in:
Markus Mäkelä
2018-08-02 23:01:44 +03:00
parent 7d6338d65b
commit b20decfe1c
10 changed files with 60 additions and 67 deletions

View File

@ -222,7 +222,7 @@ bool serviceStartListener(SERVICE *service, const char *name);
bool serviceAddBackend(SERVICE *service, SERVER *server);
// Used by authenticators
int serviceGetUser(SERVICE *service, char **user, char **auth);
void serviceGetUser(SERVICE *service, const char **user, const char **auth);
// Used by routers
const char* serviceGetWeightingParameter(SERVICE *service);