From patchwork Wed May 7 04:06:47 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Karl Bongers X-Patchwork-Id: 4133831 Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 4F341BFF02 for ; Thu, 8 May 2014 08:45:31 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7D567202DD for ; Thu, 8 May 2014 08:45:30 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 526D5201DE for ; Thu, 8 May 2014 08:45:28 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 31CFC265518; Thu, 8 May 2014 10:45:27 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=no version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id F2FAF260851; Thu, 8 May 2014 10:45:16 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 4BDCB2652B0; Wed, 7 May 2014 06:07:10 +0200 (CEST) Received: from mail-ie0-f174.google.com (mail-ie0-f174.google.com [209.85.223.174]) by alsa0.perex.cz (Postfix) with ESMTP id EFB582652AA; Wed, 7 May 2014 06:07:01 +0200 (CEST) Received: by mail-ie0-f174.google.com with SMTP id ar20so452563iec.5 for ; Tue, 06 May 2014 21:07:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=48jrH3sBJ3gdsTWm+gdW2JDsAICSnv9N6mV0OlXd8rw=; b=CgpKdMqEdo7rlklaS/jKN+7NFQa/Ek4XbDEAI1MKJkrMsAqQN9fMlct1Huwc/0JGvu qU+Zo0bMx8cYchDjdy1u4C8p1JjVI2LusigtFUaACwnmjznSZQK00NHNnnHT8xmMu3Fi TQ2+6vQeJD4oGKy0Nl+YL7tIozAc1slM3Rm43DdBGXkpeXshhuo7SsRU8bUgsrAGB08q juS0CVQ8u5svOwdlrKlT222HDYc+qLx7gEjxDQR9gxE0MlcE6MyGcKy61p1vZq8K//xR TcAiavwbYDapLTE6Q+9hhN+6UKOhQtYsEhnjwJoq0hJk6p9LCYqaTGxalV2eI/0D7FDh Fgnw== X-Received: by 10.50.176.199 with SMTP id ck7mr38604006igc.44.1399435620766; Tue, 06 May 2014 21:07:00 -0700 (PDT) Received: from D830.domain.actdsltmp (67-4-252-132.mpls.qwest.net. [67.4.252.132]) by mx.google.com with ESMTPSA id p11sm42209164igw.2.2014.05.06.21.06.59 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 06 May 2014 21:07:00 -0700 (PDT) From: Karl Bongers To: patch@alsa-project.org Date: Tue, 6 May 2014 23:06:47 -0500 Message-Id: <1399435607-9730-1-git-send-email-karlbongers@gmail.com> X-Mailer: git-send-email 1.8.3.2 X-Mailman-Approved-At: Thu, 08 May 2014 10:45:15 +0200 Cc: alsa-devel@alsa-project.org, Karl Bongers Subject: [alsa-devel] [PATCH - aconnect 1/1] fix aconnect -l option X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP aconnect -l would just print usage. This fix makes it do what usage says it should do. Signed-off-by: Karl Bongers diff --git a/seq/aconnect/aconnect.c b/seq/aconnect/aconnect.c index 8c66cfd..8d6cebb 100644 --- a/seq/aconnect/aconnect.c +++ b/seq/aconnect/aconnect.c @@ -292,6 +292,7 @@ int main(int argc, char **argv) convert_real = 0; break; case 'l': + command = LIST; list_subs = 1; break; case 'x':