summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/admin.c4
-rw-r--r--mbbsd/syspost.c3
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);