text client <.A>ide <S>ysconfig <I>nternet , when encountering a "directory" domain...
[citadel.git] / citadel / modules / inetcfg / serv_inetcfg.c
index 46971ae91220408303a4cae1ff59a013e398a6c2..c0ddb356669726b8f0b1adce5e8b3ba88fc56441 100644 (file)
@@ -100,8 +100,7 @@ int inetcfg_aftersave(struct CtdlMessage *msg, recptypes *recp) {
                }
                
                if (!strncasecmp(ptr, "Content-type: ", 14)) {
-                       if (!strncasecmp(&ptr[14], INTERNETCFG,
-                          strlen(INTERNETCFG))) {
+                       if (!strncasecmp(&ptr[14], INTERNETCFG, strlen(INTERNETCFG))) {
                                inetcfg_setTo(msg);     /* changing configs */
                        }
                }
@@ -136,7 +135,7 @@ void inetcfg_init(void) {
 /*****************************************************************************/
 /*                      MODULE INITIALIZATION STUFF                          */
 /*****************************************************************************/
-void clenaup_inetcfg(void)
+void cleanup_inetcfg(void)
 {
        char *buf;
        buf = inetcfg;
@@ -153,7 +152,7 @@ CTDL_MODULE_INIT(inetcfg)
        {
                CtdlRegisterMessageHook(inetcfg_aftersave, EVT_AFTERSAVE);
                inetcfg_init();
-               CtdlRegisterCleanupHook(clenaup_inetcfg);
+               CtdlRegisterCleanupHook(cleanup_inetcfg);
        }
        
        /* return our module name for the log */