check for orphaned -q def

This commit is contained in:
Alexandre Ratchov 2011-09-07 12:59:20 +02:00
parent 1fd5b878fb
commit 6313d1e2bc
1 changed files with 1 additions and 1 deletions

View File

@ -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);