summaryrefslogtreecommitdiffstats
path: root/polyp/cli.c
diff options
context:
space:
mode:
Diffstat (limited to 'polyp/cli.c')
-rw-r--r--polyp/cli.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/polyp/cli.c b/polyp/cli.c
index 4d4342bf..16323cba 100644
--- a/polyp/cli.c
+++ b/polyp/cli.c
@@ -45,6 +45,7 @@
#include "log.h"
#define PROMPT ">>> "
+#define PA_TYPEID_CLI PA_TYPEID_MAKE('C', 'L', 'I', '_')
struct pa_cli {
struct pa_core *core;
@@ -75,7 +76,7 @@ struct pa_cli* pa_cli_new(struct pa_core *core, struct pa_iochannel *io, struct
c->eof_callback = NULL;
pa_iochannel_socket_peer_to_string(io, cname, sizeof(cname));
- c->client = pa_client_new(core, "CLI", cname);
+ c->client = pa_client_new(core, PA_TYPEID_CLI, cname);
assert(c->client);
c->client->kill = client_kill;
c->client->userdata = c;