]> code.citadel.org Git - citadel.git/blobdiff - citadel/sysdep.c
Finished all of the code relating to the "global server info" stuff defined
[citadel.git] / citadel / sysdep.c
index 8680e2209592a1cae6b444a1e1e79d330c01893d..fa15477e0d1cd6a0ba008a4612949626365dacbb 100644 (file)
@@ -430,8 +430,6 @@ int client_gets(char *buf)
 void sysdep_master_cleanup(void) {
        lprintf(3, "Closing master socket %d\n", msock);
        close(msock);
-       lprintf(7, "Closing databases\n");
-       close_databases();
        }
 
 /*
@@ -657,6 +655,9 @@ int main(int argc, char **argv)
        lprintf(7, "Opening databases\n");
        open_databases();
 
+       lprintf(7, "Checking floor reference counts\n");
+       check_ref_counts();
+
        /*
         * Bind the server to our favourite port.
         * There is no need to check for errors, because ig_tcp_server()