Browse Source

islower() wasn't needed

Piotr Czajkowski 4 years ago
parent
commit
8fb68e337d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pwned.c

+ 1 - 1
pwned.c

@@ -29,7 +29,7 @@ char *getSuffixUppercase(const char *hash) {
 	
 	for (int i = 0; i < HASH_SUFFIX_SIZE; i++) {
 		int c = hashSuffix[i];
-		if (islower(c)) c = toupper(c);
+		c = toupper(c);
 		sprintf(suffixUpper+i, "%c", c);
 	}