summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-01-02 23:56:31 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-01-02 23:56:31 +0800
commit8ffed74f0ca041f01dcbf8915775c07023ad5616 (patch)
treea85b06891aa1dea6f18fc26754c655753d9a98bc /include
parentd2b48de005404fad6f27dfb575d2807ab8520992 (diff)
downloadpttbbs-8ffed74f0ca041f01dcbf8915775c07023ad5616.tar
pttbbs-8ffed74f0ca041f01dcbf8915775c07023ad5616.tar.gz
pttbbs-8ffed74f0ca041f01dcbf8915775c07023ad5616.tar.bz2
pttbbs-8ffed74f0ca041f01dcbf8915775c07023ad5616.tar.lz
pttbbs-8ffed74f0ca041f01dcbf8915775c07023ad5616.tar.xz
pttbbs-8ffed74f0ca041f01dcbf8915775c07023ad5616.tar.zst
pttbbs-8ffed74f0ca041f01dcbf8915775c07023ad5616.zip
fix race in write_request()
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1449 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include')
-rw-r--r--include/pttstruct.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/pttstruct.h b/include/pttstruct.h
index f20294f9..92889865 100644
--- a/include/pttstruct.h
+++ b/include/pttstruct.h
@@ -269,7 +269,7 @@ typedef struct userinfo_t {
int lock;
int friendtotal; /* 好友比較的cache 大小 */
- unsigned char msgcount;
+ char msgcount;
msgque_t msgs[MAX_MSGS];
// uptime 好像沒用到
time_t uptime;