Skip to content

Commit

Permalink
Fix incorrect operator grouping in ZeroconfAvahi.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyle Hill authored and Kyle Hill committed Nov 29, 2012
1 parent 4ad796a commit bb7ba45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xbmc/network/linux/ZeroconfAvahi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ void CZeroconfAvahi::addService(tServiceMap::mapped_type fp_service_info, AvahiC
{
if ((ret = avahi_entry_group_add_service_strlst(fp_service_info->mp_group, AVAHI_IF_UNSPEC, AVAHI_PROTO_UNSPEC, AvahiPublishFlags(0),
fp_service_info->m_name.c_str(),
fp_service_info->m_type.c_str(), NULL, NULL, fp_service_info->m_port, fp_service_info->mp_txt) < 0))
fp_service_info->m_type.c_str(), NULL, NULL, fp_service_info->m_port, fp_service_info->mp_txt)) < 0)
{
if (ret == AVAHI_ERR_COLLISION)
{
Expand Down

0 comments on commit bb7ba45

Please sign in to comment.