projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Guest-login: always check the servinfo pointer before accesssing it.
[citadel.git]
/
webcit
/
webcit.c
diff --git
a/webcit/webcit.c
b/webcit/webcit.c
index 519a18e0dc6a9cc2f3dd7b9202d90a05ec8863e6..9ec539d93159a295ab26ff3fc01ee3a69e15b297 100644
(file)
--- a/
webcit/webcit.c
+++ b/
webcit/webcit.c
@@
-741,6
+741,7
@@
void session_loop(void)
if (WCC->Hdr->HR.Handler != NULL) {
if ( (!WCC->logged_in)
&& ((WCC->Hdr->HR.Handler->Flags & ANONYMOUS) == 0)
+ && (WCC->serv_info != NULL)
&& (WCC->serv_info->serv_supports_guest == 0)
) {
display_login();