get_log_file_location () should return const char*

Make clear that result should never be freed.
This commit is contained in:
Michael Vetter
2020-02-21 21:19:54 +01:00
parent 75cfe38808
commit 55f49f1259
3 changed files with 3 additions and 3 deletions

View File

@@ -172,7 +172,7 @@ log_reinit(void)
free(lf);
}
char*
const char*
get_log_file_location(void)
{
return mainlogfile->str;