summaryrefslogtreecommitdiffstats
path: root/src/cli.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2004-07-09 23:26:10 +0000
committerLennart Poettering <lennart@poettering.net>2004-07-09 23:26:10 +0000
commitcffc7768bd5b8d16308c15102b4d03d08d287098 (patch)
tree389f6035e787b8e2106862d77718cc9dc4f140b6 /src/cli.c
parent863fb90d90c2e57e60a0f5b81e0847319399b8ed (diff)
fix recording for simpel and esound protocols
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@54 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/cli.c')
-rw-r--r--src/cli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cli.c b/src/cli.c
index ecde5763..429aebf3 100644
--- a/src/cli.c
+++ b/src/cli.c
@@ -97,7 +97,7 @@ struct pa_cli* pa_cli_new(struct pa_core *core, struct pa_iochannel *io) {
c->userdata = NULL;
c->eof_callback = NULL;
- pa_iochannel_peer_to_string(io, cname, sizeof(cname));
+ pa_iochannel_socket_peer_to_string(io, cname, sizeof(cname));
c->client = pa_client_new(core, "CLI", cname);
assert(c->client);
c->client->kill = client_kill;