-#if !defined(lint) && !defined(SABER)\r
-static char rcsid[] = "$Id: res_update.c,v 1.1.1.1 2003/11/19 01:51:39 kyu3 Exp $";\r
-#endif /* not lint */\r
+/** @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
dname = zptr->z_ns[k].nsname;\r
qtype = T_A;\r
}\r
-\r
} /* while */\r
}\r
+ --ttl; // Suppress the "Set but not used" warning/error for ttl.\r
\r
_res.options |= RES_DEBUG;\r
for (zptr = zgrp_start; zptr; zptr = zptr->z_next) {\r
} else\r
fprintf(stdout, "res_mkupdate: packet size = %d\n", n);\r
\r
- /*\r
- * Override the list of NS records from res_init() with\r
+ /* Override the list of NS records from res_init() with\r
* the authoritative nameservers for the zone being updated.\r
* Sort primary to be the first in the list of nameservers.\r
*/\r