Added "debugf" debugging message in FoundStaticHostname
authorcheshire@apple.com <cheshire@apple.com@214c2c4a-bf3b-4dcf-9390-e4dd3010487d>
Thu, 29 Oct 2009 22:21:35 +0000 (22:21 +0000)
committercheshire@apple.com <cheshire@apple.com@214c2c4a-bf3b-4dcf-9390-e4dd3010487d>
Thu, 29 Oct 2009 22:21:35 +0000 (22:21 +0000)
git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6762 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

mDNSCore/uDNS.c

index 24e0325..ec9d48c 100755 (executable)
@@ -2146,6 +2146,7 @@ mDNSlocal void FoundStaticHostname(mDNS *const m, DNSQuestion *question, const R
                                {
                                // if we're in the process of registering a dynamic hostname, delay SRV update so we don't have to reregister services if the dynamic name succeeds
                                m->NextSRVUpdate = NonZeroTime(m->timenow + 5 * mDNSPlatformOneSecond);
+                               debugf("FoundStaticHostname: NextSRVUpdate in %d %d", m->NextSRVUpdate - m->timenow, m->timenow);
                                return;
                                }
                        h = h->next;