mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Fixed crash with bottom text on protected selection page
SVN revision: 2189
This commit is contained in:
parent
6f2880297c
commit
232e9c2c6a
12
src/elogd.c
12
src/elogd.c
@ -7946,14 +7946,18 @@ void show_bottom_text_login(LOGBOOK * lbs)
|
|||||||
buf[size] = 0;
|
buf[size] = 0;
|
||||||
fclose(f);
|
fclose(f);
|
||||||
|
|
||||||
i = build_subst_list(lbs, slist, svalue, NULL, TRUE);
|
if (lbs != NULL) {
|
||||||
strsubst_list(buf, size + 100, slist, svalue, i);
|
i = build_subst_list(lbs, slist, svalue, NULL, TRUE);
|
||||||
|
strsubst_list(buf, size + 100, slist, svalue, i);
|
||||||
|
}
|
||||||
|
|
||||||
rsputs(buf);
|
rsputs(buf);
|
||||||
xfree(buf);
|
xfree(buf);
|
||||||
} else {
|
} else {
|
||||||
i = build_subst_list(lbs, slist, svalue, NULL, TRUE);
|
if (lbs != NULL) {
|
||||||
strsubst_list(str, sizeof(str), slist, svalue, i);
|
i = build_subst_list(lbs, slist, svalue, NULL, TRUE);
|
||||||
|
strsubst_list(str, sizeof(str), slist, svalue, i);
|
||||||
|
}
|
||||||
|
|
||||||
rsputs(str);
|
rsputs(str);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user