浏览代码

islower() wasn't needed

Piotr Czajkowski 5 年之前
父节点
当前提交
8fb68e337d
共有 1 个文件被更改,包括 1 次插入1 次删除
  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);
 	}