Prevent crash if logbook "global" is accessed and a logbook "global" is defined accidentally in config file
SVN revision: 1747
This commit is contained in:
+1
-1
@@ -24555,7 +24555,7 @@ void server_loop(void)
|
||||
|
||||
goto finished;
|
||||
} else {
|
||||
if (!strieq(logbook, str) && logbook[0]) {
|
||||
if (logbook[0] && (!strieq(logbook, str) || strieq(logbook, "global"))) {
|
||||
|
||||
/* check for top group */
|
||||
sprintf(str, "Top group %s", logbook);
|
||||
|
||||
Reference in New Issue
Block a user