ipc: fix a const trolling issue

This file doesn't appear to be generated, but there's a version
that's generated in monero-0mq, so I'm not super certain...
This commit is contained in:
moneromooo-monero 2015-10-31 20:59:42 +00:00
parent 383d96f5e2
commit 035b22d883
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3

View File

@ -106,12 +106,13 @@ client_terminate (client_t *self)
void
wap_server_test (bool verbose)
{
static char server_string[] = "server";
printf (" * wap_server: ");
if (verbose)
printf ("\n");
// @selftest
zactor_t *server = zactor_new (wap_server, "server");
zactor_t *server = zactor_new (wap_server, server_string);
if (verbose)
zstr_send (server, "VERBOSE");
zstr_sendx (server, "BIND", "ipc://@/wap_server", NULL);