summaryrefslogtreecommitdiffstats
path: root/mbbsd/gamble.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/gamble.c')
-rw-r--r--mbbsd/gamble.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/gamble.c b/mbbsd/gamble.c
index 23867450..a2fc3c37 100644
--- a/mbbsd/gamble.c
+++ b/mbbsd/gamble.c
@@ -1,4 +1,4 @@
-/* $Id: gamble.c,v 1.1 2002/03/07 15:13:48 in2 Exp $ */
+/* $Id: gamble.c,v 1.2 2002/03/09 17:27:57 in2 Exp $ */
#include <stdio.h>
#include <time.h>
#include <string.h>
@@ -32,7 +32,7 @@ int post_msg(char* bname, char* title, char *msg, char* author)
char genbuf[256];
/* 在 bname 版發表新文章 */
- sprintf(genbuf, "boards/%s", bname);
+ sprintf(genbuf, "boards/%c/%s", bname[0], bname);
stampfile(genbuf, &fhdr);
fp = fopen(genbuf,"w");