]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - audiod.c
audiod: Properly handle wng open failures.
[paraslash.git] / audiod.c
index 778196542d63dc855a6c8ccd6228362b434b698f..ce5bc551f8767349a41fe0974f52fa1975d2a1f8 100644 (file)
--- a/audiod.c
+++ b/audiod.c
@@ -437,10 +437,8 @@ static void open_writers(int slot_num)
                s->wng->writer_nodes[i].writer = a->writers[i];
        }
        ret = wng_open(s->wng);
-       if (ret < 0) {
-               PARA_ERROR_LOG("%s\n", para_strerror(-ret));
+       if (ret < 0)
                return;
-       }
        s->wstime = *now;
        s->server_stream_start = stat_task->server_stream_start.tv_sec?
                stat_task->server_stream_start : *now;