houndsniff

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

commit 6fd663ec539ddbb1e9b3ad90e90d404e2ef16dfe
parent a13fec5509b5c01f4bd9616be1c0fc4846dc829d
Author: MichaelDim02 <31562759+MichaelDim02@users.noreply.github.com>
Date:   Sat, 26 Dec 2020 14:40:06 +0000

Update main.c
Diffstat:
Msrc/main.c | 18++++++++++++++++++
1 file changed, 18 insertions(+), 0 deletions(-)

diff --git a/src/main.c b/src/main.c @@ -11,6 +11,24 @@ * by Michael Constantine Dimopoulos (Kerberos) */ +/* has uppercase letters */ +bool +hasUpper(char ch[600]) +{ + 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; + } /*else if (ch[i] >= 'a' && ch[i] <= 'z') {*/ + } + return hup; +} + void banner(float vesion) {