Mercurial > libpst
comparison src/readpst.c @ 171:6c1e75bc4cac
properly add trailing mime boundary in all modes
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Sun, 29 Mar 2009 08:51:13 -0700 |
parents | c1a2fd06ffe6 |
children | 6954d315aaa8 |
comparison
equal
deleted
inserted
replaced
170:0e1e048716e4 | 171:6c1e75bc4cac |
---|---|
1365 write_inline_attachment(f_output, attach, boundary, pst); | 1365 write_inline_attachment(f_output, attach, boundary, pst); |
1366 } | 1366 } |
1367 } | 1367 } |
1368 } | 1368 } |
1369 | 1369 |
1370 // end of this mail message | 1370 fprintf(f_output, "\n--%s--\n\n\n", boundary); |
1371 if (mode != MODE_SEPARATE) { /* do not add a boundary after the last attachment for mode_MH */ | |
1372 DEBUG_EMAIL(("Writing buffer between emails\n")); | |
1373 fprintf(f_output, "\n--%s--\n", boundary); | |
1374 fprintf(f_output, "\n\n"); | |
1375 } | |
1376 DEBUG_RET(); | 1371 DEBUG_RET(); |
1377 } | 1372 } |
1378 | 1373 |
1379 | 1374 |
1380 void write_vcard(FILE* f_output, pst_item *item, pst_item_contact* contact, char comment[]) | 1375 void write_vcard(FILE* f_output, pst_item *item, pst_item_contact* contact, char comment[]) |