NS_LOG(DEBUG, "Request to subscribe presence");
OCStackResult stackResult = NSInvokeRequest(getPresenceHandle(), OC_REST_PRESENCE, NULL,
NS_PRESENCE_SUBSCRIBE_QUERY, NULL, NSConsumerPresenceListener, NULL);
- NS_VERTIFY_STACK_OK(stackResult, NS_ERROR);
+ NS_VERIFY_STACK_OK(stackResult, NS_ERROR);
NS_LOG(DEBUG, "Request to discover provider");
stackResult = NSInvokeRequest(NULL, OC_REST_DISCOVER, NULL,
NS_DISCOVER_QUERY, NULL, NSProviderDiscoverListener, NULL);
- NS_VERTIFY_STACK_OK(stackResult, NS_ERROR);
+ NS_VERIFY_STACK_OK(stackResult, NS_ERROR);
return NS_OK;
}
NS_LOG(DEBUG, "try to discover notification provider.");
NSTask * task = NSMakeTask(TASK_EVENT_CONNECTED, NULL);
- NS_VERTIFY_NOT_NULL_V(task);
+ NS_VERIFY_NOT_NULL_V(task);
NSConsumerPushEvent(task);
}
NS_LOG(DEBUG, "try to discover notification provider.");
NSTask * task = NSMakeTask(TASK_EVENT_CONNECTED, NULL);
- NS_VERTIFY_NOT_NULL_V(task);
+ NS_VERIFY_NOT_NULL_V(task);
NSConsumerPushEvent(task);
}