summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2006-02-20 23:29:46 +0000
committerLennart Poettering <lennart@poettering.net>2006-02-20 23:29:46 +0000
commit31a027b78b5081903ecdde5cff1b42770c93b075 (patch)
treeaeb7d0e8debf9cbf0cdae3f0c08a181a5521d6f0 /src
parentb008941f821785b89f0b8914d4e08ee9c6ee97a5 (diff)
change calls of pa_context_connect() to pass flags arugment correctly
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@533 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src')
-rw-r--r--src/utils/pacat.c2
-rw-r--r--src/utils/pactl.c2
-rw-r--r--src/utils/paplay.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/utils/pacat.c b/src/utils/pacat.c
index 4e126c8a..6efc3a47 100644
--- a/src/utils/pacat.c
+++ b/src/utils/pacat.c
@@ -509,7 +509,7 @@ int main(int argc, char *argv[]) {
pa_context_set_state_callback(context, context_state_callback, NULL);
/* Connect the context */
- pa_context_connect(context, server, 1, NULL);
+ pa_context_connect(context, server, 0, NULL);
/* Run the main loop */
if (pa_mainloop_run(m, &ret) < 0) {
diff --git a/src/utils/pactl.c b/src/utils/pactl.c
index 86c4e7be..907746aa 100644
--- a/src/utils/pactl.c
+++ b/src/utils/pactl.c
@@ -752,7 +752,7 @@ int main(int argc, char *argv[]) {
}
pa_context_set_state_callback(context, context_state_callback, NULL);
- pa_context_connect(context, server, 1, NULL);
+ pa_context_connect(context, server, 0, NULL);
if (pa_mainloop_run(m, &ret) < 0) {
fprintf(stderr, "pa_mainloop_run() failed.\n");
diff --git a/src/utils/paplay.c b/src/utils/paplay.c
index 5f985ee9..4efb4cf6 100644
--- a/src/utils/paplay.c
+++ b/src/utils/paplay.c
@@ -352,7 +352,7 @@ int main(int argc, char *argv[]) {
pa_context_set_state_callback(context, context_state_callback, NULL);
/* Connect the context */
- pa_context_connect(context, server, 1, NULL);
+ pa_context_connect(context, server, 0, NULL);
/* Run the main loop */
if (pa_mainloop_run(m, &ret) < 0) {