]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - afs.c
server: Move para_fgets() to user_list.c.
[paraslash.git] / afs.c
diff --git a/afs.c b/afs.c
index c2d5e7af0f2ad638aa72cd1cac41fcc471a57a01..d9aa3ce05ddd4e3135b2097c149f0eaf493a4d57 100644 (file)
--- a/afs.c
+++ b/afs.c
@@ -685,7 +685,7 @@ static int open_afs_tables(void)
                ret = afs_tables[i].open(database_dir);
                if (ret >= 0)
                        continue;
-               PARA_ERROR_LOG("%s init: %s\n", afs_tables[i].name,
+               PARA_ERROR_LOG("%s open: %s\n", afs_tables[i].name,
                        para_strerror(-ret));
                break;
        }
@@ -1003,6 +1003,7 @@ __noreturn void afs_init(int socket_fd)
        }
        ret = schedule(&s);
        sched_shutdown(&s);
+       close_current_mood();
 out_close:
        close_afs_tables();
 out: