]> git.tue.mpg.de Git - paraslash.git/commitdiff
Call init_afs() _before_ setting up signal handlers.
authorAndre Noll <maan@systemlinux.org>
Tue, 15 Apr 2008 04:49:22 +0000 (06:49 +0200)
committerAndre Noll <maan@systemlinux.org>
Tue, 15 Apr 2008 04:49:22 +0000 (06:49 +0200)
afs has its own signal handling.

server.c

index 6ca93e75383e409b0d3463f0b394aecd4bfa7c41..915687649f7f84c8a572b2257a7439498d31c873 100644 (file)
--- a/server.c
+++ b/server.c
@@ -493,9 +493,9 @@ static void server_init(int argc, char **argv)
                daemon_init();
        PARA_NOTICE_LOG("initializing audio format handlers\n");
        afh_init();
-       init_signal_task();
        PARA_NOTICE_LOG("initializing the audio file selector\n");
        afs_socket = init_afs();
+       init_signal_task();
        PARA_NOTICE_LOG("initializing virtual streaming system\n");
        init_vss_task(afs_socket);
        init_server_command_task(argc, argv);