+/** @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) 1985, 1993\r
* The Regents of the University of California. All rights reserved.\r
const char *dn\r
)\r
{\r
- int ppch = '\0', pch = PERIOD, ch = *dn++;\r
+ int pch = PERIOD, ch = *dn++;\r
\r
while (ch != '\0') {\r
int nch = *dn++;\r
if (!middlechar(ch))\r
return (0);\r
}\r
- ppch = pch, pch = ch, ch = nch;\r
+ pch = ch;\r
+ ch = nch;\r
}\r
return (1);\r
}\r