--- /sys/src/cmd/ndb/dn.c Wed Feb 19 21:14:35 2014 +++ /sys/src/cmd/ndb/dn.c Sun Mar 9 02:16:40 2014 @@ -382,7 +382,8 @@ l = &dp->rr; for(rp = dp->rr; rp; rp = next){ - assert(rp->magic == RRmagic && rp->cached); + assert(rp->magic == RRmagic); + assert(rp->cached); next = rp->next; if(!rp->db && (rp->expire < now || diff > dnvars.oldest)) rrdelhead(l); /* rp == *l before; *l == rp->next after */ @@ -764,7 +765,8 @@ RR *rp; DN *dp; - assert(new->magic == RRmagic && !new->cached); + assert(new->magic == RRmagic); + assert(!new->cached); // dnslog("rrattach1: %s", new->owner->name); if(!new->db) { @@ -786,7 +788,8 @@ */ l = &dp->rr; for(rp = *l; rp; rp = *l){ - assert(rp->magic == RRmagic && rp->cached); + assert(rp->magic == RRmagic); + assert(rp->cached); if(rp->type == new->type) break; l = &rp->next; @@ -802,7 +805,8 @@ * fields (e.g. multiple NS servers). */ while ((rp = *l) != nil){ - assert(rp->magic == RRmagic && rp->cached); + assert(rp->magic == RRmagic); + assert(rp->cached); if(rp->type != new->type) break;