diff --git a/mthread.c b/mthread.c index f768cad..cb59a99 100644 --- a/mthread.c +++ b/mthread.c @@ -64,7 +64,7 @@ mid(struct message *msg) } else { // invent new message-id for internal tracking static long i; - char buf[32]; + char buf[40]; snprintf(buf, sizeof buf, "thread%08ld@localhost", ++i); return strdup(buf); }