diff options
author | Lennart Poettering <lennart@poettering.net> | 2009-03-23 19:31:36 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2009-03-23 19:31:36 +0100 |
commit | 08154554b0cdce6d16816536211718bf14ff33ff (patch) | |
tree | ee23e50fcd8efa03cae2d402af0a7b071ec79a3c /src/pulsecore/protocol-native.c | |
parent | 124de50ef8e4074302c0c205e61ccd78744dd549 (diff) |
only store card profile if flagged for that
Diffstat (limited to 'src/pulsecore/protocol-native.c')
-rw-r--r-- | src/pulsecore/protocol-native.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pulsecore/protocol-native.c b/src/pulsecore/protocol-native.c index 4860860b..ff49e696 100644 --- a/src/pulsecore/protocol-native.c +++ b/src/pulsecore/protocol-native.c @@ -4119,7 +4119,7 @@ static void command_set_card_profile(pa_pdispatch *pd, uint32_t command, uint32_ CHECK_VALIDITY(c->pstream, card, tag, PA_ERR_NOENTITY); - if (pa_card_set_profile(card, profile) < 0) { + if (pa_card_set_profile(card, profile, TRUE) < 0) { pa_pstream_send_error(c->pstream, tag, PA_ERR_INVALID); return; } |