summaryrefslogtreecommitdiffstats
path: root/util/openvice.c
diff options
context:
space:
mode:
authorkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-02-03 20:58:42 +0800
committerkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-02-03 20:58:42 +0800
commit2f79c54e2b80a89272edad8b9d128c843c8d132e (patch)
tree2388c3c21033fa0ccf2ba50302e83cacf22745ed /util/openvice.c
parentad8ffbe000a8bb31c72cf4422967623095e7a885 (diff)
downloadpttbbs-2f79c54e2b80a89272edad8b9d128c843c8d132e.tar
pttbbs-2f79c54e2b80a89272edad8b9d128c843c8d132e.tar.gz
pttbbs-2f79c54e2b80a89272edad8b9d128c843c8d132e.tar.bz2
pttbbs-2f79c54e2b80a89272edad8b9d128c843c8d132e.tar.lz
pttbbs-2f79c54e2b80a89272edad8b9d128c843c8d132e.tar.xz
pttbbs-2f79c54e2b80a89272edad8b9d128c843c8d132e.tar.zst
pttbbs-2f79c54e2b80a89272edad8b9d128c843c8d132e.zip
comment on bad random number usage
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2456 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'util/openvice.c')
-rw-r--r--util/openvice.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/openvice.c b/util/openvice.c
index abc08272..bf258a3f 100644
--- a/util/openvice.c
+++ b/util/openvice.c
@@ -21,6 +21,7 @@ int main(int argc, char **argv)
attach_SHM();
srand(SHM->number);
+ /* FIXME 小站的 SHM->number 變化不大, 可能導致開獎號碼固定 */
if (!fp || !fb )
perror("error open file");