init active to false

This commit is contained in:
badaix 2016-05-01 12:26:15 +02:00
parent b84762c1f5
commit ce303d1ebb
3 changed files with 6 additions and 3 deletions

View file

@ -27,7 +27,8 @@ static AvahiEntryGroup *group;
static AvahiSimplePoll *simple_poll;
static char* name;
PublishAvahi::PublishAvahi(const std::string& serviceName) : client(NULL), serviceName_(serviceName)
PublishAvahi::PublishAvahi(const std::string& serviceName) :
client(NULL), serviceName_(serviceName), active_(false)
{
group = NULL;
simple_poll = NULL;