comparison src/readpst.c @ 261:41862bddcf63

adding more debug code
author Carl Byington <carl@five-ten-sg.com>
date Sun, 17 Apr 2011 15:01:18 -0700
parents 78e95fab9a8b
children 52c3d02e9df8
comparison
equal deleted inserted replaced
260:156cf548c764 261:41862bddcf63
1041 1041
1042 void write_inline_attachment(FILE* f_output, pst_item_attach* attach, char *boundary, pst_file* pst) 1042 void write_inline_attachment(FILE* f_output, pst_item_attach* attach, char *boundary, pst_file* pst)
1043 { 1043 {
1044 char *attach_filename; 1044 char *attach_filename;
1045 DEBUG_ENT("write_inline_attachment"); 1045 DEBUG_ENT("write_inline_attachment");
1046 DEBUG_INFO(("Attachment Size is %"PRIu64", id %#"PRIx64"\n", (uint64_t)attach->data.size, attach->i_id)); 1046 DEBUG_INFO(("Attachment Size is %"PRIu64", data = %"PRIxPTR", id %#"PRIx64"\n", (uint64_t)attach->data.size, attach->data.data, attach->i_id));
1047 1047
1048 if (!attach->data.data) { 1048 if (!attach->data.data) {
1049 // make sure we can fetch data from the id 1049 // make sure we can fetch data from the id
1050 pst_index_ll *ptr = pst_getID(pst, attach->i_id); 1050 pst_index_ll *ptr = pst_getID(pst, attach->i_id);
1051 if (!ptr) { 1051 if (!ptr) {