Bug 1233813 - Fix mDNS bug in resolving services with no TXT records. r=schien
authorKannan Vijayan <kvijayan@mozilla.com>
Tue, 22 Dec 2015 16:24:56 -0500
changeset 277409 d57e201a2d38977617b14957ff0ba5ad7752d61f
parent 277408 6b5c53463b1e4713c5fced3314fa7d293be8f303
child 277410 93c07c3aeab9caa629df7039e07779632c97581b
push id29822
push usercbook@mozilla.com
push dateWed, 23 Dec 2015 11:00:24 +0000
treeherdermozilla-central@35b211eaad1f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersschien
bugs1233813
milestone46.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1233813 - Fix mDNS bug in resolving services with no TXT records. r=schien
netwerk/dns/mdns/libmdns/nsDNSServiceInfo.cpp
--- a/netwerk/dns/mdns/libmdns/nsDNSServiceInfo.cpp
+++ b/netwerk/dns/mdns/libmdns/nsDNSServiceInfo.cpp
@@ -191,14 +191,14 @@ nsDNSServiceInfo::GetAttributes(nsIPrope
   attributes.forget(aAttributes);
   return NS_OK;
 }
 
 NS_IMETHODIMP
 nsDNSServiceInfo::SetAttributes(nsIPropertyBag2* aAttributes)
 {
   mAttributes = aAttributes;
-  mIsAttributesSet = true;
+  mIsAttributesSet = aAttributes ? true : false;
   return NS_OK;
 }
 
 } // namespace net
 } // namespace mozilla