]> code.citadel.org Git - citadel.git/blobdiff - webcit/serv_func.c
* Began implementation of WebCit connecting to Citadel server using IPv6
[citadel.git] / webcit / serv_func.c
index 1069858e5cba8790404ea69bfd02a5167547f24c..83f841555770bd72c810a1693777642bd823fd78 100644 (file)
@@ -182,7 +182,6 @@ int GetConnected (void)
                WCC->connected = 1;
                StrBuf_ServGetln(Buf);  /* get the server greeting */
                short_status = GetServerStatus(Buf, &Status);
-               lprintf(9, "\033[32mGREETING: %s\033[0m\n", ChrPtr(Buf));
                FreeStrBuf(&Buf);
 
                /* Server isn't ready for us? */
@@ -201,6 +200,8 @@ int GetConnected (void)
                        return 1;
                }
 
+               /* 2010jun03: every now and then the connection to Citadel dies before this point.  why? */
+
                /*
                 * From what host is our user connecting?  Go with
                 * the host at the other end of the HTTP socket,
@@ -757,7 +758,7 @@ InitModule_SERVFUNC
 
        RegisterConditional(HKEY("COND:SERV:OPENID"), 2, conditional_serv_supports_openid, CTX_NONE);
        RegisterConditional(HKEY("COND:SERV:NEWU"), 2, conditional_serv_newuser_disabled, CTX_NONE);
-       RegisterConditional(HKEY("COND:SERV:HAVEFULLTEXT"), 2, conditional_serv_fulltext_enabled, CTX_NONE);
+       RegisterConditional(HKEY("COND:SERV:FULLTEXT_ENABLED"), 2, conditional_serv_fulltext_enabled, CTX_NONE);
        RegisterNamespace("SERV:PID", 0, 0, tmplput_serv_ip, NULL, CTX_NONE);
        RegisterNamespace("SERV:NODENAME", 0, 1, tmplput_serv_nodename, NULL, CTX_NONE);
        RegisterNamespace("SERV:HUMANNODE", 0, 1, tmplput_serv_humannode, NULL, CTX_NONE);