Commit 8a0ced58 authored by David Johnson's avatar David Johnson

pubsub clientapi returns 0 for success, unlike silly elvin.

parent 31009d09
......@@ -500,7 +500,7 @@ sched_callback(event_handle_t handle,
void subscribe_callback(event_handle_t handle, int result,
event_subscription_t es, void *data) {
if (result) {
if (!result) {
std::string key((char *)data);
exptmap[key] = es;
info("Subscription for %s added successfully.\n", (char *)data);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment