From: Andre Noll Date: Sat, 6 Aug 2011 19:39:08 +0000 (+0200) Subject: audiod: Fix writer setup info message. X-Git-Tag: v0.4.8~4^2~4 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=af20b849aa8b081bd20c47bda4874d6ea6ee9365;ds=sidebyside audiod: Fix writer setup info message. In the non-default case the wrong variable was used as the array index. --- diff --git a/audiod.c b/audiod.c index 74aa3865..5af79b04 100644 --- a/audiod.c +++ b/audiod.c @@ -791,7 +791,7 @@ static int parse_writer_args(void) a->writer_conf = para_realloc(a->writer_conf, (nw + 1) * sizeof(void *)); a->writer_nums[nw] = writer_num; a->writer_conf[nw] = wconf; - PARA_INFO_LOG("%s writer #%d: %s\n", audio_formats[writer_num], + PARA_INFO_LOG("%s writer #%d: %s\n", audio_formats[j], nw, writer_names[writer_num]); a->num_writers++; }