diff options
author | lwms <lwms@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-05-21 13:08:44 +0800 |
---|---|---|
committer | lwms <lwms@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-05-21 13:08:44 +0800 |
commit | be7f3e7ec528ecafd5da15cadf959e69bd239f2b (patch) | |
tree | 2922a95d085a9ae2cba61314e8675726d8e06cf2 | |
parent | ed249a9ffd807b4e93c7e60032ca4842a48f2fc3 (diff) | |
download | pttbbs-be7f3e7ec528ecafd5da15cadf959e69bd239f2b.tar pttbbs-be7f3e7ec528ecafd5da15cadf959e69bd239f2b.tar.gz pttbbs-be7f3e7ec528ecafd5da15cadf959e69bd239f2b.tar.bz2 pttbbs-be7f3e7ec528ecafd5da15cadf959e69bd239f2b.tar.lz pttbbs-be7f3e7ec528ecafd5da15cadf959e69bd239f2b.tar.xz pttbbs-be7f3e7ec528ecafd5da15cadf959e69bd239f2b.tar.zst pttbbs-be7f3e7ec528ecafd5da15cadf959e69bd239f2b.zip |
*** empty log message ***
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@185 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | mbbsd/admin.c | 4 | ||||
-rw-r--r-- | mbbsd/syspost.c | 3 |
2 files changed, 3 insertions, 4 deletions
diff --git a/mbbsd/admin.c b/mbbsd/admin.c index a076c10f..8397234d 100644 --- a/mbbsd/admin.c +++ b/mbbsd/admin.c @@ -1,4 +1,4 @@ -/* $Id: admin.c,v 1.13 2002/05/21 05:01:33 lwms Exp $ */ +/* $Id: admin.c,v 1.14 2002/05/21 05:04:14 lwms Exp $ */ #include <stdio.h> #include <stdlib.h> #include <string.h> @@ -1106,7 +1106,7 @@ int give_money() { *ptr = '\0'; id = buf; mn = ptr + 1; - give_id_money(id, atoi(mn), fp2, tt, t); + give_id_money(id, atoi(mn), fp2, tt, now); give_money_post(id, atoi(mn) ); } fclose(fp); diff --git a/mbbsd/syspost.c b/mbbsd/syspost.c index 654d6c35..8a30abff 100644 --- a/mbbsd/syspost.c +++ b/mbbsd/syspost.c @@ -1,4 +1,4 @@ -/* $Id: syspost.c,v 1.7 2002/05/20 15:41:37 lwms Exp $ */ +/* $Id: syspost.c,v 1.8 2002/05/21 05:08:44 lwms Exp $ */ #include <stdio.h> #include <string.h> #include <time.h> @@ -102,7 +102,6 @@ void give_money_post(char *userid, int money) { fileheader_t fhdr; time_t now = time(0); char genbuf[200], reason[30]; - int i, flag=0; strcpy(genbuf, "boards/S/Security"); stampfile(genbuf, &fhdr); |