summaryrefslogtreecommitdiffstats
path: root/src/polyp
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2006-02-22 15:36:11 +0000
committerPierre Ossman <ossman@cendio.se>2006-02-22 15:36:11 +0000
commit71fd26f895690f7e14b10b30a61b98f8ab7c8b24 (patch)
treec9913639aa6c92a815748b9c25f968cfce1ba95a /src/polyp
parentcc2178e5c39f0c2da2d4d5dff14210d5934bcc32 (diff)
Wrong userdata used to init operation.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@561 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/polyp')
-rw-r--r--src/polyp/context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/polyp/context.c b/src/polyp/context.c
index 63acf19f..15e6cd76 100644
--- a/src/polyp/context.c
+++ b/src/polyp/context.c
@@ -847,7 +847,7 @@ pa_operation* pa_context_send_simple_command(pa_context *c, uint32_t command, pa
PA_CHECK_VALIDITY_RETURN_NULL(c, c->state == PA_CONTEXT_READY, PA_ERR_BADSTATE);
- o = pa_operation_new(c, NULL, cb, o->userdata);
+ o = pa_operation_new(c, NULL, cb, userdata);
t = pa_tagstruct_new(NULL, 0);
pa_tagstruct_putu32(t, command);