diff options
-rw-r--r-- | pith/reply.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pith/reply.c b/pith/reply.c index c7a481f4..2aa9ba22 100644 --- a/pith/reply.c +++ b/pith/reply.c @@ -2237,7 +2237,7 @@ forward_subject(ENVELOPE *env, int flags) snprintf(tmp_20k_buf+2000, SIZEOF_20KBUF-2000, "%s (fwd)", tmp_20k_buf); tmp_20k_buf[SIZEOF_20KBUF-2000-1] = '\0'; memmove(tmp_20k_buf, tmp_20k_buf+2000, strlen(tmp_20k_buf+2000)); - tmp_20k_buf[SIZEOF_20KBUF-1] = '\0'; + tmp_20k_buf[strlen(tmp_20k_buf+2000)] = '\0'; } /* |