Changeset 3547:6367ba3dd8bf

Show
Ignore:
Timestamp:
2003-12-29 03:44:35 (5 years ago)
Author:
Alain Bench <veronatif@…>
Branch:
HEAD
Message:

Fix #844.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • commands.c

    r3495 r3547  
    642642    *chflags = CH_XMIT | CH_MIME | CH_TXTPLAIN; 
    643643    *cmflags = M_CM_DECODE | M_CM_CHARCONV; 
    644   } 
    645  
    646   /* respect $weed only if decode doesn't kick in 
    647    * for decrypt. 
    648    */ 
    649  
    650   if (decode && !decrypt && option (OPTWEED)) 
    651   { 
    652     *chflags |= CH_WEED; 
    653     *cmflags |= M_CM_WEED; 
     644 
     645    if (!decrypt)       /* If decode doesn't kick in for decrypt, */ 
     646    { 
     647      *chflags |= CH_DECODE;    /* then decode RFC 2047 headers, */ 
     648 
     649      if (option (OPTWEED)) 
     650      { 
     651        *chflags |= CH_WEED;    /* and respect $weed. */ 
     652        *cmflags |= M_CM_WEED; 
     653      } 
     654    } 
    654655  } 
    655656}