diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2012-04-20 22:57:48 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2012-04-20 22:57:48 +0800 |
commit | 07e89103436f2d233b7dcb541c095dc6aeb65e8e (patch) | |
tree | e3b0004a0aaf25860df8c6967dddaac2b51ab54e | |
parent | 7ef287fa9da9446acbde2073683575fb4791e307 (diff) | |
download | pttbbs-07e89103436f2d233b7dcb541c095dc6aeb65e8e.tar pttbbs-07e89103436f2d233b7dcb541c095dc6aeb65e8e.tar.gz pttbbs-07e89103436f2d233b7dcb541c095dc6aeb65e8e.tar.bz2 pttbbs-07e89103436f2d233b7dcb541c095dc6aeb65e8e.tar.lz pttbbs-07e89103436f2d233b7dcb541c095dc6aeb65e8e.tar.xz pttbbs-07e89103436f2d233b7dcb541c095dc6aeb65e8e.tar.zst pttbbs-07e89103436f2d233b7dcb541c095dc6aeb65e8e.zip |
Refine redir output
git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5667 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | pttbbs/util/redir.c | 3 |
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) |