X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Fconvert.c;h=280d1b0c819f4bd6c5833a8c30d48acaeffd89e6;hp=1bf9d274d5923e819ee8ff6e4a456ffb8ec035cf;hb=5daac18e96c40ea7eea639f03c1b643f89cf3440;hpb=ae042e99cffce562d8595fc884302c4326228b44 diff --git a/src/convert.c b/src/convert.c index 1bf9d274..280d1b0c 100644 --- a/src/convert.c +++ b/src/convert.c @@ -444,9 +444,9 @@ write_backup_file (const char *file, downloaded_file_t downloaded_file_return) else /* downloaded_file_return == FILE_DOWNLOADED_NORMALLY */ { /* Append ".orig" to the name. */ - filename_plus_orig_suffix = alloca (filename_len + sizeof ("ORIG_SFX")); + filename_plus_orig_suffix = alloca (filename_len + sizeof (ORIG_SFX)); strcpy (filename_plus_orig_suffix, file); - strcpy (filename_plus_orig_suffix + filename_len, "ORIG_SFX"); + strcpy (filename_plus_orig_suffix + filename_len, ORIG_SFX); } if (!converted_files)