"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/lib/module-dir.c" between
dovecot-2.3.16.tar.gz and dovecot-2.3.17.tar.gz

About: Dovecot is an IMAP and POP3 server, written with security primarily in mind.

module-dir.c  (dovecot-2.3.16):module-dir.c  (dovecot-2.3.17)
skipping to change at line 578 skipping to change at line 578
if (module->deinit != NULL && module->initialized) { if (module->deinit != NULL && module->initialized) {
rev[count-i-1] = module; rev[count-i-1] = module;
i++; i++;
} }
module = module->next; module = module->next;
} }
for (i = 0; i < count; i++) { for (i = 0; i < count; i++) {
module = rev[i]; module = rev[i];
module->deinit(); T_BEGIN {
module->deinit();
} T_END;
module->initialized = FALSE; module->initialized = FALSE;
} }
} T_END; } T_END;
} }
void module_dir_unload(struct module **modules) void module_dir_unload(struct module **modules)
{ {
struct module *module, *next; struct module *module, *next;
/* Call all modules' deinit() first, so that they may still call each /* Call all modules' deinit() first, so that they may still call each
 End of changes. 1 change blocks. 
1 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)