diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-07-25 16:26:16 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-07-25 16:26:16 +0800 |
commit | ffa58f68a2f802d8fe751b62856a373841d10659 (patch) | |
tree | d1ec76c1497bcae8faa5f3bc5a3666cf86695d1f /mbbsd/record.c | |
parent | a0b8e524ca554800eae363391732f420a3ee1997 (diff) | |
download | pttbbs-ffa58f68a2f802d8fe751b62856a373841d10659.tar pttbbs-ffa58f68a2f802d8fe751b62856a373841d10659.tar.gz pttbbs-ffa58f68a2f802d8fe751b62856a373841d10659.tar.bz2 pttbbs-ffa58f68a2f802d8fe751b62856a373841d10659.tar.lz pttbbs-ffa58f68a2f802d8fe751b62856a373841d10659.tar.xz pttbbs-ffa58f68a2f802d8fe751b62856a373841d10659.tar.zst pttbbs-ffa58f68a2f802d8fe751b62856a373841d10659.zip |
maildir: add show size
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2956 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/record.c')
-rw-r--r-- | mbbsd/record.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mbbsd/record.c b/mbbsd/record.c index 00c8f11e..c6779553 100644 --- a/mbbsd/record.c +++ b/mbbsd/record.c @@ -27,7 +27,10 @@ get_num_records(const char *fpath, int size) { struct stat st; if (stat(fpath, &st) == -1) + { + /* TODO: delete this entry, or mark as read */ return 0; + } return st.st_size / size; } |