houndsniff

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit f53f8ac51d13138ed293ab1c6deb2575a62e904b
parent d2997d39cc13bbf18c1b78ecdd4c3fc8e1f60a79
Author: MichaelDim02 <31562759+MichaelDim02@users.noreply.github.com>
Date:   Wed, 30 Dec 2020 01:35:28 +0000

Update main.c
Diffstat:
Msrc/main.c | 9+++------
1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/src/main.c b/src/main.c @@ -10,24 +10,21 @@ * by Michael Constantine Dimopoulos (Kerberos) */ -char version[4] = "1.3"; +char version[4] = "1.4"; /* has uppercase letters */ bool hasUpper(char ch[]) { - bool hup = false; - int len = strlen(ch); int i; for (i=0; i<len; i++) { if (ch[i] >= 'A' && ch[i] <= 'Z') { - hup = true; - break; + return true; } /*else if (ch[i] >= 'a' && ch[i] <= 'z') {*/ } - return hup; + return false; } void