version 1.1, 2012/02/21 22:30:18
|
version 1.1.1.1, 2012/10/09 09:06:54
|
Line 96 res_nmkupdate(res_state statp,
|
Line 96 res_nmkupdate(res_state statp,
|
ns_updrec *rrecp_in, double *bp, unsigned *blp) { |
ns_updrec *rrecp_in, double *bp, unsigned *blp) { |
ns_updrec *rrecp_start = rrecp_in; |
ns_updrec *rrecp_start = rrecp_in; |
HEADER *hp; |
HEADER *hp; |
u_char *cp, *sp1, *sp2; | u_char *cp, *sp2; |
const unsigned char *startp, *endp; |
const unsigned char *startp, *endp; |
int n, i, soanum, multiline; |
int n, i, soanum, multiline; |
ns_updrec *rrecp; |
ns_updrec *rrecp; |
Line 123 res_nmkupdate(res_state statp,
|
Line 123 res_nmkupdate(res_state statp,
|
hp->id = htons(++statp->id); |
hp->id = htons(++statp->id); |
hp->opcode = ns_o_update; |
hp->opcode = ns_o_update; |
hp->rcode = NOERROR; |
hp->rcode = NOERROR; |
sp1 = buf + 2*INT16SZ; /* save pointer to zocount */ |
|
cp = buf + HFIXEDSZ; |
cp = buf + HFIXEDSZ; |
buflen -= HFIXEDSZ; |
buflen -= HFIXEDSZ; |
dpp = dnptrs; |
dpp = dnptrs; |