summaryrefslogtreecommitdiffstats
path: root/innbbsd
diff options
context:
space:
mode:
authorbbs <bbs@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-05-10 15:30:12 +0800
committerbbs <bbs@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-05-10 15:30:12 +0800
commit9d6249db1b56e16d40bc6fad16576878816f8d2b (patch)
tree1ad7648c2732a32f5c810a4c99824aa8624398a1 /innbbsd
parent0ea43b4c2a097a6f2da7ee9c1cfa04f1d0afa227 (diff)
downloadpttbbs-9d6249db1b56e16d40bc6fad16576878816f8d2b.tar
pttbbs-9d6249db1b56e16d40bc6fad16576878816f8d2b.tar.gz
pttbbs-9d6249db1b56e16d40bc6fad16576878816f8d2b.tar.bz2
pttbbs-9d6249db1b56e16d40bc6fad16576878816f8d2b.tar.lz
pttbbs-9d6249db1b56e16d40bc6fad16576878816f8d2b.tar.xz
pttbbs-9d6249db1b56e16d40bc6fad16576878816f8d2b.tar.zst
pttbbs-9d6249db1b56e16d40bc6fad16576878816f8d2b.zip
wrong usage -_-
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@833 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'innbbsd')
-rw-r--r--innbbsd/bbslink.c2
-rw-r--r--innbbsd/innbbsd.c10
-rw-r--r--innbbsd/inntobbs.c3
3 files changed, 8 insertions, 7 deletions
diff --git a/innbbsd/bbslink.c b/innbbsd/bbslink.c
index d0a4bb21..b7ca2f9d 100644
--- a/innbbsd/bbslink.c
+++ b/innbbsd/bbslink.c
@@ -1487,7 +1487,7 @@ try_read_outgoing:
soverview.group = group;
soverview.mtime = atol(mtime);
soverview.from = from;
- strcpy(subject, str_decode_M3(subject));
+ str_decode_M3(subject);
soverview.subject = subject;
soverview.outgoingtype = outgoingtype;
soverview.msgid = msgid;
diff --git a/innbbsd/innbbsd.c b/innbbsd/innbbsd.c
index f89d95ab..f7fc0fc0 100644
--- a/innbbsd/innbbsd.c
+++ b/innbbsd/innbbsd.c
@@ -678,11 +678,11 @@ ClientType *client;
HEADER[MID_H] && HEADER[NEWSGROUPS_H] ) {
char *path1, *path2;
int rel ;
- strcpy(HEADER[SUBJECT_H], str_decode_M3(HEADER[SUBJECT_H]));
- strcpy(HEADER[FROM_H], str_decode_M3(HEADER[FROM_H]));
- strcpy(HEADER[DATE_H], str_decode_M3(HEADER[DATE_H]));
- strcpy(HEADER[MID_H], str_decode_M3(HEADER[MID_H]));
- strcpy(HEADER[NEWSGROUPS_H], str_decode_M3(HEADER[NEWSGROUPS_H]));
+ str_decode_M3(HEADER[SUBJECT_H]);
+ str_decode_M3(HEADER[FROM_H]);
+ str_decode_M3(HEADER[DATE_H]);
+ str_decode_M3(HEADER[MID_H]);
+ str_decode_M3(HEADER[NEWSGROUPS_H]);
rel = 0;
path1 = (char*)mymalloc(strlen(HEADER[PATH_H]) + 3);
path2 = (char*)mymalloc(strlen(MYBBSID) + 3);
diff --git a/innbbsd/inntobbs.c b/innbbsd/inntobbs.c
index b10c44e5..fb854867 100644
--- a/innbbsd/inntobbs.c
+++ b/innbbsd/inntobbs.c
@@ -205,7 +205,8 @@ echomaillog()
if( echomailfp != NULL ) {
fprintf(echomailfp,"\n");
fprintf(echomailfp,"發信人: %s, 信區: %s\n", FROM, GROUPS);
- fprintf(echomailfp,"標 題: %s\n", str_decode_M3(SUBJECT));
+ str_decode_M3(SUBJECT);
+ fprintf(echomailfp,"標 題: %s\n", SUBJECT);
fprintf(echomailfp,"發信站: %s (%s)\n", SITE, DATE);
fprintf(echomailfp,"轉信站: %s (%s)\n", PATH, REMOTEHOSTNAME);
fflush(echomailfp);