summaryrefslogtreecommitdiff
path: root/pith
diff options
context:
space:
mode:
Diffstat (limited to 'pith')
-rw-r--r--pith/pine.hlp2
-rw-r--r--pith/reply.c5
2 files changed, 3 insertions, 4 deletions
diff --git a/pith/pine.hlp b/pith/pine.hlp
index dd1265a5..2b865435 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 586 2021-08-31 23:49:55
+Alpine Commit 587 2021-09-07 08:43:39
============= h_news =================
<HTML>
<HEAD>
diff --git a/pith/reply.c b/pith/reply.c
index 92172c05..deffc6fe 100644
--- a/pith/reply.c
+++ b/pith/reply.c
@@ -2329,12 +2329,11 @@ forward_subject(ENVELOPE *env, int flags)
tmp_20k_buf[SIZEOF_20KBUF-1] = '\0';
removing_trailing_white_space(tmp_20k_buf);
- if((l = strlen(tmp_20k_buf)) < 1000 &&
- (l < 5 || strcmp(tmp_20k_buf+l-5,"(fwd)"))){
+ l = strlen(tmp_20k_buf);
+ if(l < 5 || strcmp(tmp_20k_buf+l-5,"(fwd)")){
char *s = cpystr(tmp_20k_buf);
snprintf(tmp_20k_buf, SIZEOF_20KBUF, "%.1000s (fwd)", s);
tmp_20k_buf[SIZEOF_20KBUF-1] = '\0';
- strcpy(tmp_20k_buf, s);
fs_give((void **) &s);
}