+* Avoid shadowing the "group" global variable.
(4.2.7p121) 2011/01/21 Released by Harlan Stenn <stenn@ntp.org>
* [Bug 1786] Remove extra semicolon from ntp_proto.c .
(4.2.7p120) 2011/01/20 Released by Harlan Stenn <stenn@ntp.org>
#ifdef AUTOKEY
/*
- * Do not respond if not the same groupl;
+ * Do not respond if not the same group.
*/
if (group_test(groupname, NULL)) {
sys_declined++;
#ifdef AUTOKEY
/*
- * Do not respond if not the same groupl;
+ * Do not respond if not the same group.
*/
if (group_test(groupname, sys_ident)) {
sys_declined++;
#ifdef AUTOKEY
/*
- * Do not respond if not the same groupl;
+ * Do not respond if not the same group.
*/
if (group_test(groupname, sys_ident)) {
sys_declined++;
#ifdef AUTOKEY
/*
- * Do not respond if not the same groupl;
+ * Do not respond if not the same group.
*/
if (group_test(groupname, peer->ident)) {
sys_declined++;
* * ignore if notrust
*/
int group_test(
- char *group,
+ char *grp,
char *ident
)
{
- if (group == NULL)
+ if (grp == NULL)
return (0);
- if (strcmp(group, sys_groupname) == 0)
+ if (strcmp(grp, sys_groupname) == 0)
return (0);
if (ident == NULL)
return (1);
- if (strcmp(group, ident) == 0)
+ if (strcmp(grp, ident) == 0)
return (0);
return (1);