summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMarc-André Lureau <marc-andre.lureau@nokia.com>2009-02-17 20:18:56 +0200
committerLennart Poettering <lennart@poettering.net>2009-02-19 04:50:16 +0100
commit6c8d851643a8413678c7557abc9758cc1bee94c0 (patch)
treecb01a3707de5dee73bdbc3fb95e88f58ce586c15 /src
parent01f81d697346d3cb052d11137913aaa59a854c0b (diff)
protocol-native: fix get_info() for cards
Diffstat (limited to 'src')
-rw-r--r--src/pulsecore/protocol-native.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pulsecore/protocol-native.c b/src/pulsecore/protocol-native.c
index 79b9b069..39b82826 100644
--- a/src/pulsecore/protocol-native.c
+++ b/src/pulsecore/protocol-native.c
@@ -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);