comparison src/lspst.c @ 164:ab384fed78c5

Compensate for iconv conversion to utf-7 that produces strings that are not null terminated. Don't produce empty attachment files in separate mode.
author Carl Byington <carl@five-ten-sg.com>
date Mon, 16 Mar 2009 18:31:39 -0700
parents 581fab9f1dc7
children 40e9de445038
comparison
equal deleted inserted replaced
163:03fbb0269f3c 164:ab384fed78c5
57 if (!d_ptr->desc) { 57 if (!d_ptr->desc) {
58 DEBUG_WARN(("main: ERROR item's desc record is NULL\n")); 58 DEBUG_WARN(("main: ERROR item's desc record is NULL\n"));
59 ff.skip_count++; 59 ff.skip_count++;
60 } 60 }
61 else { 61 else {
62 DEBUG_MAIN(("main: Desc Email ID %"PRIx64" [d_ptr->d_id = %"PRIx64"]\n", d_ptr->desc->id, d_ptr->d_id)); 62 DEBUG_MAIN(("main: Desc Email ID %"PRIx64" [d_ptr->d_id = %"PRIx64"]\n", d_ptr->desc->i_id, d_ptr->d_id));
63 63
64 item = pst_parse_item(&pstfile, d_ptr, NULL); 64 item = pst_parse_item(&pstfile, d_ptr, NULL);
65 DEBUG_MAIN(("main: About to process item @ %p.\n", item)); 65 DEBUG_MAIN(("main: About to process item @ %p.\n", item));
66 if (item) { 66 if (item) {
67 if (item->message_store) { 67 if (item->message_store) {