pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/libopendaap/patches Changes 0.3.0:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9dabe5de6c34
branches:  trunk
changeset: 490353:9dabe5de6c34
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Mar 07 15:31:26 2005 +0000

description:
Changes 0.3.0:

diffstat:

 audio/libopendaap/patches/patch-aa |  31 -------------------------------
 1 files changed, 0 insertions(+), 31 deletions(-)

diffs (35 lines):

diff -r 9ef00be8a832 -r 9dabe5de6c34 audio/libopendaap/patches/patch-aa
--- a/audio/libopendaap/patches/patch-aa        Mon Mar 07 15:30:44 2005 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,31 +0,0 @@
-$NetBSD: patch-aa,v 1.1 2004/08/01 16:13:32 kristerw Exp $
-
---- mDNS/mDNS.c.orig   Sun Aug  1 18:03:05 2004
-+++ mDNS/mDNS.c        Sun Aug  1 18:04:13 2004
-@@ -5410,12 +5410,12 @@
- 
-       for (i = 0; i < totalrecords && ptr && ptr < end; i++)
-               {
-+              char buf[1000];
-               LargeCacheRecord pkt;
-               const mDNSu8 RecordType = (mDNSu8)((i < response->h.numAnswers) ? kDNSRecordTypePacketAns : kDNSRecordTypePacketAdd);
-               ptr = GetLargeResourceRecord(m, response, ptr, end, InterfaceID, RecordType, &pkt);
-               if (!ptr) break;                // Break out of the loop and clean up our CacheFlushRecords list before exiting
- 
--                char buf[1000];
-                 ConvertDomainNameToCString(&pkt.r.resrec.name, buf);
-                 verbosedebugf("%s\n", buf);
-               // 1. Check that this packet resource record does not conflict with any of ours
-@@ -5500,9 +5500,10 @@
-               // 2. See if we want to add this packet resource record to our cache
-               if (m->rrcache_size)    // Only try to cache answers if we have a cache to put them in
-                       {
--                verbosedebugf("caching\n");
--                      mDNSu32 slot = HashSlot(&pkt.r.resrec.name);
-+                      mDNSu32 slot;
-                       CacheRecord *rr;
-+                verbosedebugf("caching\n");
-+                      slot = HashSlot(&pkt.r.resrec.name);
-                       // 2a. Check if this packet resource record is already in our cache
-                       for (rr = m->rrcache_hash[slot]; rr; rr=rr->next)
-                               {



Home | Main Index | Thread Index | Old Index