Differences From:
File
src/zip.c
part of check-in
[7ae01ee47b]
- fixed an 'integer overflow' warning from the Sun compiler. Thank to Kevin for the tip.
by
stephan on
2008-09-19 11:11:01.
[view]
To:
File
src/zip.c
part of check-in
[39bbc6010e]
- Fix two problems in the ZIP downloader, as reported by
ticket e28adcd72503a.
by
drh on
2008-11-27 13:25:58.
[view]
@@ -74,9 +74,9 @@
d = atoi(&zDate[8]);
H = atoi(&zDate[11]);
M = atoi(&zDate[14]);
S = atoi(&zDate[17]);
- dosTime = (H<<11) + (M<<5) + S;
+ dosTime = (H<<11) + (M<<5) + (S>>1);
dosDate = ((y-1980)<<9) + (m<<5) + d;
}
/*
@@ -379,6 +379,5 @@
free( zName );
free( zRid );
cgi_set_content(&zip);
cgi_set_content_type("application/zip");
- cgi_reply();
}