summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/modules/module-tunnel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/module-tunnel.c b/src/modules/module-tunnel.c
index aa6b69f5..8f5e66e6 100644
--- a/src/modules/module-tunnel.c
+++ b/src/modules/module-tunnel.c
@@ -365,7 +365,7 @@ static void request_latency(struct userdata *u) {
static void stream_get_info_callback(pa_pdispatch *pd, uint32_t command, PA_GCC_UNUSED uint32_t tag, pa_tagstruct *t, void *userdata) {
struct userdata *u = userdata;
- uint32_t index, owner_module, monitor_source;
+ uint32_t idx, owner_module, monitor_source;
pa_usec_t latency;
const char *name, *description, *monitor_source_name, *driver;
int mute;
@@ -383,7 +383,7 @@ static void stream_get_info_callback(pa_pdispatch *pd, uint32_t command, PA_GCC_
return;
}
- if (pa_tagstruct_getu32(t, &index) < 0 ||
+ if (pa_tagstruct_getu32(t, &idx) < 0 ||
pa_tagstruct_gets(t, &name) < 0 ||
pa_tagstruct_gets(t, &description) < 0 ||
pa_tagstruct_get_sample_spec(t, &sample_spec) < 0 ||