Change-Id: Iaad7f92e36941bbe2eac55f941e9ad24e79be703
%bcond_without use_glib_event_loop
Name: capi-network-vine
Summary: An service discovery framework
-Version: 1.2.7
+Version: 1.2.8
Release: 0
Group: Network & Connectivity/API
License: Apache-2.0
vine_service_set_port(service, mListenPort);
mRank = create_rank();
- sprintf(rank_str, "%d", mRank);
+ snprintf(rank_str, VINE_DP_PUBSUB_RANK_LEN, "%d", mRank);
vine_service_set_name(service, mId.c_str());
vine_service_add_attribute(service, VINE_DP_PUBSUB_RANK_KEY, (const char *)rank_str);