mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Fixed bug which could crash elogd
SVN revision: 2126
This commit is contained in:
parent
5acad4dc1f
commit
6b50e509e2
@ -25455,7 +25455,7 @@ void interprete(char *lbook, char *path)
|
|||||||
|
|
||||||
if (strncmp(path, "last", 4) == 0 && !chkext(path, ".png") && (!isparam("cmd") || strieq(getparam("cmd"),
|
if (strncmp(path, "last", 4) == 0 && !chkext(path, ".png") && (!isparam("cmd") || strieq(getparam("cmd"),
|
||||||
loc("Select")))
|
loc("Select")))
|
||||||
&& !isparam("newpwd")) {
|
&& !isparam("newpwd") && atoi(path + 4) > 0) {
|
||||||
show_elog_list(lbs, 0, atoi(path + 4), 0, FALSE, NULL);
|
show_elog_list(lbs, 0, atoi(path + 4), 0, FALSE, NULL);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user