Artifact
if (opt.adjust_extension) { ... if (*dt & TEXTHTML) ensure_extension (hs, ".html", dt); ... } ... static void ensure_extension (struct http_stat *hs, const char *ext, int *dt) { ... hs->local_file = xrealloc (hs->local_file, local_filename_len + 24 + len); strcpy (hs->local_file + local_filename_len, ext); if (!ALLOW_CLOBBER && file_exists_p (hs->local_file, NULL)) sprintf (hs->local_file + local_filename_len, ".%d%s", ext_num++, ext); }
86260607-a7e0-4a31-abb8-798335cefc53
if (opt.adjust_extension) { ... if (*dt & TEXTHTML) ensure_extension (hs, ".html", dt); ... } ... static void ensure_extension (struct http_stat *hs, const char *ext, int *dt) { ... hs->local_file = xrealloc (hs->local_file, local_filename_len + 24 + len); strcpy (hs->local_file + local_filename_len, ext); if (!ALLOW_CLOBBER && file_exists_p (hs->local_file, NULL)) sprintf (hs->local_file + local_filename_len, ".%d%s", ext_num++, ext); }