diff options
Diffstat (limited to 'mbbsd/name.c')
-rw-r--r-- | mbbsd/name.c | 1 |
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; } |