Searched refs:newrd (Results 1 – 1 of 1) sorted by relevance
/external/mdnsresponder/mDNSShared/ |
D | uds_daemon.c | 1187 RData *newrd = mallocL("RData/update_record", sizeof(RData) - sizeof(RDataBody) + rdsize); in update_record() local 1188 if (!newrd) FatalError("ERROR: malloc"); in update_record() 1189 newrd->MaxRDLength = (mDNSu16) rdsize; in update_record() 1190 mDNSPlatformMemCopy(&newrd->u, rdata, rdlen); in update_record() 1195 if (rr->resrec.rrtype == kDNSType_TXT && rdlen == 0) { rdlen = 1; newrd->u.txt.c[0] = 0; } in update_record() 1199 result = mDNS_Update(&mDNSStorage, rr, ttl, rdlen, newrd, update_callback); in update_record() 1200 …%d for %s", (int)result, ARDisplayString(&mDNSStorage, rr)); freeL("RData/update_record", newrd); } in update_record()
|