Code reformatting
This commit is contained in:
		| @@ -17,7 +17,7 @@ int main(int argc, char *argv[]) { | ||||
| 	} | ||||
| 	char *path = argv[1]; | ||||
|  | ||||
| 	char* png_buffer = load_file(get_fd(path)); | ||||
| 	char *png_buffer = load_file(get_fd(path)); | ||||
| 	if (!is_png(png_buffer)) { | ||||
| 		printf("It's not a PNG file\n"); | ||||
| 		exit(1); | ||||
|   | ||||
| @@ -135,8 +135,6 @@ void xor_data(png_chunk *chunk) { | ||||
| 	} | ||||
| } | ||||
|  | ||||
|  | ||||
|  | ||||
| void destroy_chunks(png_chunk **chunks) { | ||||
| 	unsigned int size = get_number_of_chunks(chunks); | ||||
| 	for (int i = 0; i < size; i++) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user