version 1.8, 1997/04/23 20:33:21 |
version 1.9, 1997/07/25 21:56:22 |
|
|
/* $OpenBSD$ */ |
/* $OpenBSD$ */ |
/* $NetBSD: ruserpass.c,v 1.13 1997/04/01 14:20:34 mrg Exp $ */ |
/* $NetBSD: ruserpass.c,v 1.14 1997/07/20 09:46:01 lukem Exp $ */ |
|
|
/* |
/* |
* Copyright (c) 1985, 1993, 1994 |
* Copyright (c) 1985, 1993, 1994 |
|
|
goto match; |
goto match; |
if ((tmp = strchr(hostname, '.')) != NULL && |
if ((tmp = strchr(hostname, '.')) != NULL && |
strcasecmp(tmp, mydomain) == 0 && |
strcasecmp(tmp, mydomain) == 0 && |
strncasecmp(hostname, tokval, tmp-hostname) == 0 && |
strncasecmp(hostname, tokval, |
|
(size_t)(tmp - hostname)) == 0 && |
tokval[tmp - hostname] == '\0') |
tokval[tmp - hostname] == '\0') |
goto match; |
goto match; |
if ((tmp = strchr(host, '.')) != NULL && |
if ((tmp = strchr(host, '.')) != NULL && |
strcasecmp(tmp, mydomain) == 0 && |
strcasecmp(tmp, mydomain) == 0 && |
strncasecmp(host, tokval, tmp - host) == 0 && |
strncasecmp(host, tokval, |
|
(size_t)(tmp - host)) == 0 && |
tokval[tmp - host] == '\0') |
tokval[tmp - host] == '\0') |
goto match; |
goto match; |
continue; |
continue; |