From 6313d1e2bc76976e32aa12db597daf4f836097ab Mon Sep 17 00:00:00 2001 From: Alexandre Ratchov Date: Wed, 7 Sep 2011 12:59:20 +0200 Subject: [PATCH] check for orphaned -q def --- aucat/aucat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aucat/aucat.c b/aucat/aucat.c index 9766523..27f9647 100644 --- a/aucat/aucat.c +++ b/aucat/aucat.c @@ -669,7 +669,7 @@ aucat_main(int argc, char **argv) if (!SLIST_EMPTY(&cd->opts) || !SLIST_EMPTY(&cd->ins) || !SLIST_EMPTY(&cd->outs) || - !SLIST_EMPTY(&cd->outs)) + !SLIST_EMPTY(&cd->mids)) errx(1, "no device to attach last stream to"); free(cs); free(cd);