Fix dodgy code
This commit is contained in:
parent
4cf5596737
commit
4fa7236270
@ -1242,9 +1242,11 @@ bool HandleNetmail(struct MemMessage *mm)
|
||||
if(mm->Flags & MMFLAG_TWIT)
|
||||
return(TRUE);
|
||||
|
||||
if(config.cfg_Flags & CFG_STRIPRE)
|
||||
strcpy(mm->Subject,StripRe(mm->Subject));
|
||||
|
||||
if(config.cfg_Flags & CFG_STRIPRE) {
|
||||
char *stripre = strdup(StripRe(mm->Subject));
|
||||
strcpy(mm->Subject, stripre);
|
||||
free(stripre);
|
||||
}
|
||||
/* Import empty netmail? */
|
||||
|
||||
istext=TRUE;
|
||||
@ -1275,8 +1277,11 @@ bool HandleNetmail(struct MemMessage *mm)
|
||||
{
|
||||
toss_import++;
|
||||
|
||||
if(config.cfg_Flags & CFG_STRIPRE)
|
||||
strcpy(mm->Subject,StripRe(mm->Subject));
|
||||
if(config.cfg_Flags & CFG_STRIPRE) {
|
||||
char *stripre = strdup(StripRe(mm->Subject));
|
||||
strcpy(mm->Subject, stripre);
|
||||
free(stripre);
|
||||
}
|
||||
|
||||
/* Remove LOCAL flag if set and set SENT flag */
|
||||
|
||||
|
Reference in New Issue
Block a user