Client library now stores the flag indicating whether guest mode is supported
authorArt Cancro <ajc@citadel.org>
Tue, 31 Aug 2010 20:04:24 +0000 (16:04 -0400)
committerArt Cancro <ajc@citadel.org>
Tue, 31 Aug 2010 20:04:24 +0000 (16:04 -0400)
citadel/include/citadel_ipc.h
citadel/utillib/citadel_ipc.c

index 4e60f60916ac33cfa41a9a29c7bfe2af8850d433..ff339e441d9edd399a375d4adba187df7806e16f 100644 (file)
@@ -55,6 +55,7 @@ struct CtdlServInfo {
        int has_sieve;
        int fulltext_enabled;
        char svn_revision[256];
+       int guest_logins;
 };
 
 /*
index 6ed0cf671565377ff41582860ea2d2f47d7b2f51..bcd48b037e120f6bf23a7917bb3a2a1cf3d37041 100644 (file)
@@ -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;
                        }
                }