summaryrefslogtreecommitdiff
path: root/src/pulse
diff options
context:
space:
mode:
authorArun Raghavan <arun@accosted.net>2014-08-06 07:48:19 +0530
committerArun Raghavan <arun@accosted.net>2014-10-31 10:46:10 +0530
commit8718496d1497ea32ef83a46a30625cac096d9f95 (patch)
tree9c76a9ca29ec1ee47bcb155de02c38f3413b50c5 /src/pulse
parent72e5671eceacda19bc490be19fd8afa505418ed4 (diff)
creds: Rename pa_ancil to pa_cmsg_ancil_data
Makes the purpose of the structure clearear.
Diffstat (limited to 'src/pulse')
-rw-r--r--src/pulse/context.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pulse/context.c b/src/pulse/context.c
index ec9f3acc1..d5da9b8f0 100644
--- a/src/pulse/context.c
+++ b/src/pulse/context.c
@@ -328,7 +328,7 @@ static void pstream_die_callback(pa_pstream *p, void *userdata) {
pa_context_fail(c, PA_ERR_CONNECTIONTERMINATED);
}
-static void pstream_packet_callback(pa_pstream *p, pa_packet *packet, const pa_ancil *ancil, void *userdata) {
+static void pstream_packet_callback(pa_pstream *p, pa_packet *packet, const pa_cmsg_ancil_data *ancil_data, void *userdata) {
pa_context *c = userdata;
pa_assert(p);
@@ -337,7 +337,7 @@ static void pstream_packet_callback(pa_pstream *p, pa_packet *packet, const pa_a
pa_context_ref(c);
- if (pa_pdispatch_run(c->pdispatch, packet, ancil, c) < 0)
+ if (pa_pdispatch_run(c->pdispatch, packet, ancil_data, c) < 0)
pa_context_fail(c, PA_ERR_PROTOCOL);
pa_context_unref(c);