summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2006-09-17 02:42:50 +0800
committerkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2006-09-17 02:42:50 +0800
commit5c194ee7761a78c7dd9789941ed631d1a2ec5113 (patch)
tree68f97da7af975da05af9f58ac4425c924204c6cf
parent2c244129ac12bfe6d58bee71288c2b8746dab755 (diff)
downloadpttbbs-5c194ee7761a78c7dd9789941ed631d1a2ec5113.tar
pttbbs-5c194ee7761a78c7dd9789941ed631d1a2ec5113.tar.gz
pttbbs-5c194ee7761a78c7dd9789941ed631d1a2ec5113.tar.bz2
pttbbs-5c194ee7761a78c7dd9789941ed631d1a2ec5113.tar.lz
pttbbs-5c194ee7761a78c7dd9789941ed631d1a2ec5113.tar.xz
pttbbs-5c194ee7761a78c7dd9789941ed631d1a2ec5113.tar.zst
pttbbs-5c194ee7761a78c7dd9789941ed631d1a2ec5113.zip
missed counting of SYSWRITE
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3415 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/io.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mbbsd/io.c b/mbbsd/io.c
index c1efde24..e516e7b0 100644
--- a/mbbsd/io.c
+++ b/mbbsd/io.c
@@ -88,6 +88,7 @@ int
ochar(int c)
{
if (obufsize > OBUFSIZE - 1) {
+ STATINC(STAT_SYSWRITESOCKET);
/* suppose one byte data doesn't need to be converted. */
write(1, outbuf, obufsize);
obufsize = 0;