summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/cli-command.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-03-23 19:31:36 +0100
committerLennart Poettering <lennart@poettering.net>2009-03-23 19:31:36 +0100
commit08154554b0cdce6d16816536211718bf14ff33ff (patch)
treeee23e50fcd8efa03cae2d402af0a7b071ec79a3c /src/pulsecore/cli-command.c
parent124de50ef8e4074302c0c205e61ccd78744dd549 (diff)
only store card profile if flagged for that
Diffstat (limited to 'src/pulsecore/cli-command.c')
-rw-r--r--src/pulsecore/cli-command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pulsecore/cli-command.c b/src/pulsecore/cli-command.c
index b5f7e7f5..d4d407c6 100644
--- a/src/pulsecore/cli-command.c
+++ b/src/pulsecore/cli-command.c
@@ -1454,7 +1454,7 @@ static int pa_cli_command_card_profile(pa_core *c, pa_tokenizer *t, pa_strbuf *b
return -1;
}
- if (pa_card_set_profile(card, p) < 0) {
+ if (pa_card_set_profile(card, p, TRUE) < 0) {
pa_strbuf_printf(buf, "Failed to set card profile to '%s'.\n", p);
return -1;
}