]> code.delx.au - pulseaudio/blobdiff - polyp/cli.c
* fix include file names in installed header files
[pulseaudio] / polyp / cli.c
index 4d4342bfb872216520b6b57f66972d934bc5f737..16323cbae5e51ef5316984ce9a4029afc33cb0e7 100644 (file)
@@ -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;