diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2006-06-16 15:26:12 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2006-06-16 15:26:12 +0800 |
commit | a4ca9945a1f90b2c65d73ecc454d98028a4ea0d7 (patch) | |
tree | 1ab335a00de543d08d02e62d89d53796ec0f5c6d /mbbsd/edit.c | |
parent | f7f94492d83cd0a7f70f4eda0f64e208aa8084fa (diff) | |
download | pttbbs-a4ca9945a1f90b2c65d73ecc454d98028a4ea0d7.tar pttbbs-a4ca9945a1f90b2c65d73ecc454d98028a4ea0d7.tar.gz pttbbs-a4ca9945a1f90b2c65d73ecc454d98028a4ea0d7.tar.bz2 pttbbs-a4ca9945a1f90b2c65d73ecc454d98028a4ea0d7.tar.lz pttbbs-a4ca9945a1f90b2c65d73ecc454d98028a4ea0d7.tar.xz pttbbs-a4ca9945a1f90b2c65d73ecc454d98028a4ea0d7.tar.zst pttbbs-a4ca9945a1f90b2c65d73ecc454d98028a4ea0d7.zip |
1.remove str_checksum() (use StringHash() now)
2.prevent cross posting from mail
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3371 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/edit.c')
-rw-r--r-- | mbbsd/edit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/edit.c b/mbbsd/edit.c index dc537f44..cf7ff8c1 100644 --- a/mbbsd/edit.c +++ b/mbbsd/edit.c @@ -1645,7 +1645,7 @@ write_file(char *fpath, int saveheader, int *islocal, char *mytitle) line++; /* check crosspost */ if (currstat == POSTING && po ) { - int msgsum = str_checksum(msg); + int msgsum = StringHash(msg); if (msgsum) { if (postrecord.last_bid != currbid && postrecord.checksum[po] == msgsum) { |