From af9e7d2282e113ac754b6cf7d0cf2be590957e95 Mon Sep 17 00:00:00 2001 From: Christian Schlittchen Date: Sat, 2 Feb 2002 14:51:40 +0000 Subject: [PATCH] - Formatstrings und Parameter Reportdateinamen korrigiert --- src/common/gamecode/report.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/common/gamecode/report.c b/src/common/gamecode/report.c index b7bfa6a90..6bc258f74 100644 --- a/src/common/gamecode/report.c +++ b/src/common/gamecode/report.c @@ -2790,7 +2790,7 @@ reports(void) fprintf(BAT, "zip -j -9 %d-%s.zip ../res/%s/%s/welcome.txt\n", turn, factionid(f), global.welcomepath, locale_name(f->locale)); } else { fprintf(BAT, "ls %d-%s.nr %d-%s.cr | zip -m -j -9 -@ %d-%s.zip\n", - turn, factionid(f), turn, factionid(f), factionid(f)); + turn, factionid(f), turn, factionid(f), turn, factionid(f)); } fprintf(shfp, "eresseamail.zipped $addr \"%s %s\" \"%s-%d.zip\" " @@ -2803,7 +2803,7 @@ reports(void) " \\\n\t\"text/plain\" \"Willkommen\" ../res/%s/%s/welcome.txt", global.welcomepath, locale_name(f->locale)); } - fprintf(BAT, "bzip2 -9v `ls 5D-%s.nr %d-%s.cr`\n", + fprintf(BAT, "bzip2 -9v `ls %d-%s.nr %d-%s.cr`\n", turn, factionid(f), turn, factionid(f)); fprintf(shfp, "eresseamail.bzip2 $addr \"%s %s\"", global.gamename, gamedate_short()); @@ -2834,7 +2834,7 @@ reports(void) if (!nonr && f->options & wants_report) fprintf(shfp, - " \\\n\t\"text/plain\" \"Report\" turn, %s.nr", + " \\\n\t\"text/plain\" \"Report\" turn, %d-%s.nr", turn, factionid(f)); if (!nocr && (f->options & wants_computer_report || f->age<3))