Browse Source

default to CRLF output in copy_msg_convert()

if we have nothing to go on, assume canonical line endings.
wip/maildir-path-under-inbox
Oswald Buddenhagen 3 years ago
parent
commit
bfcc2d7d19
  1. 2
      src/sync_msg_cvt.c

2
src/sync_msg_cvt.c

@ -115,7 +115,7 @@ copy_msg_convert( int in_cr, int out_cr, copy_vars_t *vars )
} }
break; break;
} }
app_cr = out_cr && (!in_cr || hdr_crs); app_cr = out_cr && (!in_cr || hdr_crs || !lines);
if (fix_tuid || fix_subj || fix_hdr) if (fix_tuid || fix_subj || fix_hdr)
extra += app_cr + 1; extra += app_cr + 1;
if (end_hdr) if (end_hdr)

Loading…
Cancel
Save