main.cpp
@@ -118,10 +118,10 @@ memset(®, 0, sizeof(reg)); reg.pinfo = make_proc("reply", "replyid"); reg.channel = cstr_arr_new(1); size_t i = 0; for(; i < 1; i++){ cstr_arr_add(®.channel, topic, strlen(topic), i); } cstr_arr_add(®.channel, topic, strlen(topic), 0); reg.topic_pub = cstr_arr_new(1); cstr_arr_add(®.topic_pub, topic, strlen(topic), 0); void* handle = bus_client_init(NULL, 0, ®); size_t count = 0; this_thread::sleep_for(chrono::seconds(3));