From fcad137c294100430282961705ab8a7b931702bd Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Tue, 31 Aug 2010 16:04:24 -0400 Subject: [PATCH] Client library now stores the flag indicating whether guest mode is supported --- citadel/include/citadel_ipc.h | 1 + citadel/utillib/citadel_ipc.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/citadel/include/citadel_ipc.h b/citadel/include/citadel_ipc.h index 4e60f6091..ff339e441 100644 --- a/citadel/include/citadel_ipc.h +++ b/citadel/include/citadel_ipc.h @@ -55,6 +55,7 @@ struct CtdlServInfo { int has_sieve; int fulltext_enabled; char svn_revision[256]; + int guest_logins; }; /* diff --git a/citadel/utillib/citadel_ipc.c b/citadel/utillib/citadel_ipc.c index 6ed0cf671..bcd48b037 100644 --- a/citadel/utillib/citadel_ipc.c +++ b/citadel/utillib/citadel_ipc.c @@ -756,6 +756,8 @@ int CtdlIPCServerInfo(CtdlIPC *ipc, char *cret) break; case 22: strcpy(ipc->ServInfo.svn_revision, buf); break; + case 24: ipc->ServInfo.guest_logins = atoi(buf); + break; } } -- 2.39.2