X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fmodules%2Finetcfg%2Fserv_inetcfg.c;h=c0ddb356669726b8f0b1adce5e8b3ba88fc56441;hb=d4d8a13594b84a4a051066cd6c9856d194f63783;hp=46971ae91220408303a4cae1ff59a013e398a6c2;hpb=70b30ebf3d5e169c158874839bdc41fa44fd8ef9;p=citadel.git diff --git a/citadel/modules/inetcfg/serv_inetcfg.c b/citadel/modules/inetcfg/serv_inetcfg.c index 46971ae91..c0ddb3566 100644 --- a/citadel/modules/inetcfg/serv_inetcfg.c +++ b/citadel/modules/inetcfg/serv_inetcfg.c @@ -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 */