Hi!
I've run into a bug when using --adjust-extension. Basically, the files
with '.htm' suffix had a suffix added, contrary to the definiton of this
cmd line option. The fix attached is self-explanatory.
Cheers!
Tomek
=== modified file 'src/http.c'
--- src/http.c 2011-02-23 09:37:48 +0000
+++ src/http.c 2011-03-01 16:22:08 +0000
@@ -3501,7 +3501,7 @@
if (len == 5)
{
strncpy (shortext, ext, len - 1);
- shortext[len - 2] = '\0';
+ shortext[len - 1] = '\0';
}
if (last_period_in_local_filename == NULL