+/** @file\r
+ Copyright (c) 1999 - 2014, Intel Corporation. All rights reserved.<BR>\r
+ This program and the accompanying materials are licensed and made available\r
+ under the terms and conditions of the BSD License which accompanies this\r
+ distribution. The full text of the license may be found at\r
+ http://opensource.org/licenses/bsd-license.php.\r
+\r
+ THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+**/\r
/*\r
* Copyright (c) 1996 by Internet Software Consortium.\r
*\r
* <viraj_bais@ccm.fm.intel.com>\r
*/\r
\r
-#if !defined(lint) && !defined(SABER)\r
-static char rcsid[] = "$Id: res_mkupdate.c,v 1.1.1.1 2003/11/19 01:51:38 kyu3 Exp $";\r
-#endif /* not lint */\r
-\r
#include <sys/types.h>\r
#include <sys/param.h>\r
\r
res_mkupdate(ns_updrec *rrecp_in, u_char *buf, int buflen) {\r
ns_updrec *rrecp_start = rrecp_in;\r
HEADER *hp;\r
- u_char *cp, *sp1, *sp2, *startp, *endp;\r
+ u_char *cp, *sp2, *startp, *endp;\r
int n, i, soanum, multiline;\r
ns_updrec *rrecp;\r
struct in_addr ina;\r
hp->id = htons(++_res.id);\r
hp->opcode = ns_o_update;\r
hp->rcode = NOERROR;\r
- sp1 = buf + 2*INT16SZ; /* save pointer to zocount */\r
cp = buf + HFIXEDSZ;\r
buflen -= HFIXEDSZ;\r
dpp = dnptrs;\r