Commit f4ecc751 authored by Just van Rossum's avatar Just van Rossum

use proper constant instead of comment (noted by nnorwitz)

parent a72e2f9d
...@@ -664,7 +664,7 @@ read_directory(char *archive) ...@@ -664,7 +664,7 @@ read_directory(char *archive)
"'%.200s'", archive); "'%.200s'", archive);
return NULL; return NULL;
} }
fseek(fp, -22, 2); /* Seek from end of file */ fseek(fp, -22, SEEK_END);
header_end = ftell(fp); header_end = ftell(fp);
if (fread(endof_central_dir, 1, 22, fp) != 22) { if (fread(endof_central_dir, 1, 22, fp) != 22) {
fclose(fp); fclose(fp);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment