summaryrefslogtreecommitdiffstats
path: root/mbbsd/name.c
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-05-08 02:11:33 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-05-08 02:11:33 +0800
commitba4849655123ccf17feb52aea447a4b52a114928 (patch)
treedba70d2d0dc7ef436c84892e77d6688eb866de01 /mbbsd/name.c
parenta87ab519a744439ff1ffd3627d83ed9ee3e7252a (diff)
downloadpttbbs-ba4849655123ccf17feb52aea447a4b52a114928.tar
pttbbs-ba4849655123ccf17feb52aea447a4b52a114928.tar.gz
pttbbs-ba4849655123ccf17feb52aea447a4b52a114928.tar.bz2
pttbbs-ba4849655123ccf17feb52aea447a4b52a114928.tar.lz
pttbbs-ba4849655123ccf17feb52aea447a4b52a114928.tar.xz
pttbbs-ba4849655123ccf17feb52aea447a4b52a114928.tar.zst
pttbbs-ba4849655123ccf17feb52aea447a4b52a114928.zip
- improve give_money process and red_envelop writing procedure.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4277 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/name.c')
-rw-r--r--mbbsd/name.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mbbsd/name.c b/mbbsd/name.c
index ffb4fc4f..0cbb9242 100644
--- a/mbbsd/name.c
+++ b/mbbsd/name.c
@@ -956,6 +956,7 @@ generalnamecomplete(const char *prompt, char *data, int len, size_t nmemb,
strcpy(data, (*getname)(start));
ret = start;
} else {
+ // XXX why newline here?
data[0] = '\n';
ret = -1;
}