X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=alsa_write.c;h=bc06fc315bc51fb3fc1fa9729ae429b47a70d4b4;hp=3935c8c687be53e25791abbb93697a8d61186527;hb=86b5aba882056a6ff6d8645684e59222ba74a818;hpb=1f12ea375358a0b30689e01efe82796ea4fcb14f diff --git a/alsa_write.c b/alsa_write.c index 3935c8c6..bc06fc31 100644 --- a/alsa_write.c +++ b/alsa_write.c @@ -1,8 +1,4 @@ -/* - * Copyright (C) 2005 Andre Noll - * - * Licensed under the GPL v2. For licencing details see COPYING. - */ +/* Copyright (C) 2005 Andre Noll , see file COPYING. */ /** \file alsa_write.c paraslash's alsa output plugin */ @@ -270,6 +266,8 @@ static int alsa_write_post_select(__a_unused struct sched *s, void *context) goto err; again: ret = btr_node_status(btrn, wn->min_iqs, BTR_NT_LEAF); + if (ret < 0) + goto err; if (ret == 0) return 0; btr_merge(btrn, wn->min_iqs);