]> code.delx.au - pulseaudio/commitdiff
protocol-native: fix get_info() for cards
authorMarc-André Lureau <marc-andre.lureau@nokia.com>
Tue, 17 Feb 2009 18:18:56 +0000 (20:18 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 19 Feb 2009 03:50:16 +0000 (04:50 +0100)
src/pulsecore/protocol-native.c

index 79b9b069eb06a592df32a7d3efa2c011b651d534..39b828263d0e352c1b5bb9fc8f49fc00bca14ee8 100644 (file)
@@ -3011,7 +3011,7 @@ static void command_get_info(pa_pdispatch *pd, uint32_t command, uint32_t tag, p
         source_fill_tagstruct(c, reply, source);
     else if (client)
         client_fill_tagstruct(c, reply, client);
-    else if (client)
+    else if (card)
         card_fill_tagstruct(c, reply, card);
     else if (module)
         module_fill_tagstruct(c, reply, module);