summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pttbbs/util/redir.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/pttbbs/util/redir.c b/pttbbs/util/redir.c
index 9a5f60e8..158bba28 100644
--- a/pttbbs/util/redir.c
+++ b/pttbbs/util/redir.c
@@ -55,7 +55,8 @@ int process(FILE *fin, FILE *fout, const char *index_path,
if (!fout)
return 1;
- printf("%s: %s %d %s\n", file_path, fh.filename, fh.modified, fh.title);
+ printf("%s: %d[%s] %s\n", file_path, fh.modified,
+ Cdate_mdHMS(&fh.modified), fh.title);
unlink(file_path);
num_remove++;
if (!fout)