Author: metze Date: 2005-11-09 09:16:32 +0000 (Wed, 09 Nov 2005) New Revision: 11599
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=11599 Log: remove local (and broken) version of strhaslower() strhasupper() metze Modified: branches/SAMBA_4_0/source/auth/auth_unix.c Changeset: Modified: branches/SAMBA_4_0/source/auth/auth_unix.c =================================================================== --- branches/SAMBA_4_0/source/auth/auth_unix.c 2005-11-09 08:45:00 UTC (rev 11598) +++ branches/SAMBA_4_0/source/auth/auth_unix.c 2005-11-09 09:16:32 UTC (rev 11599) @@ -564,30 +564,6 @@ #endif /* HAVE_BIGCRYPT && HAVE_CRYPT && USE_BOTH_CRYPT_CALLS */ } -/** - Does a string have any lowercase chars in it? -**/ -static BOOL strhaslower(const char *s) -{ - while (*s) { - if (islower(*s)) return True; - s++; - } - return False; -} - -/** - Does a string have any uppercase chars in it? -**/ -static BOOL strhasupper(const char *s) -{ - while (*s) { - if (isupper(*s)) return True; - s++; - } - return False; -} - static NTSTATUS check_unix_password(TALLOC_CTX *ctx, const struct auth_usersupplied_info *user_info) { char *username;
