From 0f7954a9f5291ba865ff87b6884c16a3014c1b76 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 22 Jan 2009 00:15:19 +0100 Subject: don't include full path in driver name. --- src/pulsecore/client.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/pulsecore/client.c') diff --git a/src/pulsecore/client.c b/src/pulsecore/client.c index 1e65fcd9..18004412 100644 --- a/src/pulsecore/client.c +++ b/src/pulsecore/client.c @@ -29,6 +29,7 @@ #include #include +#include #include #include @@ -64,7 +65,7 @@ pa_client *pa_client_new(pa_core *core, pa_client_new_data *data) { c = pa_xnew(pa_client, 1); c->core = core; c->proplist = pa_proplist_copy(data->proplist); - c->driver = pa_xstrdup(data->driver); + c->driver = pa_xstrdup(pa_path_get_filename(data->driver)); c->module = data->module; c->sink_inputs = pa_idxset_new(NULL, NULL); -- cgit