summaryrefslogtreecommitdiffstats
path: root/mbbsd/bbs.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/bbs.c')
-rw-r--r--mbbsd/bbs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c
index 1bda4b80..8bec2d6c 100644
--- a/mbbsd/bbs.c
+++ b/mbbsd/bbs.c
@@ -825,16 +825,16 @@ do_general(int isbid)
else if(!isbid)
{
/* general article */
+#ifdef USE_TEXTLEN
struct stat st;
- postfile.multi.money = aborted;
-#ifdef USE_TEXTLEN
if (stat(fpath, &st) != -1)
{
/* put original file (text) length. */
postfile.textlen = st.st_size;
}
#endif
+ postfile.multi.money = aborted;
}
strlcpy(postfile.owner, owner, sizeof(postfile.owner));