소스 검색

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);
 	}