summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mbbsd/convert.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/convert.c b/mbbsd/convert.c
index a7e1ff31..1c390ac3 100644
--- a/mbbsd/convert.c
+++ b/mbbsd/convert.c
@@ -59,7 +59,7 @@ utf8_write(int fd, void *buf, size_t count)
{
int icount = (int)count;
static char *mybuf = NULL;
- int cmybuf = 0;
+ static int cmybuf = 0;
/* utf8 output is a special case because
* we need larger buffer which can be