summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pulsecore/pstream.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pulsecore/pstream.c b/src/pulsecore/pstream.c
index bbff2f6a9..2c9e4523e 100644
--- a/src/pulsecore/pstream.c
+++ b/src/pulsecore/pstream.c
@@ -1119,8 +1119,8 @@ void pa_pstream_set_revoke_callback(pa_pstream *p, pa_pstream_block_id_cb_t cb,
pa_assert(p);
pa_assert(PA_REFCNT_VALUE(p) > 0);
- p->release_callback = cb;
- p->release_callback_userdata = userdata;
+ p->revoke_callback = cb;
+ p->revoke_callback_userdata = userdata;
}
bool pa_pstream_is_pending(pa_pstream *p) {