diff options
-rw-r--r-- | pith/pine.hlp | 2 | ||||
-rw-r--r-- | pith/reply.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/pith/pine.hlp b/pith/pine.hlp index 6fb5e1bb..2bb809a9 100644 --- a/pith/pine.hlp +++ b/pith/pine.hlp @@ -140,7 +140,7 @@ with help text for the config screen and the composer that didn't have any reasonable place to be called from. Dummy change to get revision in pine.hlp ============= h_revision ================= -Alpine Commit 242 2018-01-07 20:51:03 +Alpine Commit 243 2018-01-09 12:05:19 ============= h_news ================= <HTML> <HEAD> diff --git a/pith/reply.c b/pith/reply.c index 4c0a6f44..383294ec 100644 --- a/pith/reply.c +++ b/pith/reply.c @@ -2236,7 +2236,7 @@ forward_subject(ENVELOPE *env, int flags) (l < 5 || strcmp(tmp_20k_buf+l-5,"(fwd)"))){ snprintf(tmp_20k_buf+2000, SIZEOF_20KBUF-2000, "%s (fwd)", tmp_20k_buf); tmp_20k_buf[SIZEOF_20KBUF-2000-1] = '\0'; - strncpy(tmp_20k_buf, tmp_20k_buf+2000, SIZEOF_20KBUF); + memmove(tmp_20k_buf, tmp_20k_buf+2000, SIZEOF_20KBUF); tmp_20k_buf[SIZEOF_20KBUF-1] = '\0'; } |