diff options
Diffstat (limited to 'pith/reply.c')
-rw-r--r-- | pith/reply.c | 5 |
1 files changed, 2 insertions, 3 deletions
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); } |