comparison src/getidblock.c @ 143:fdc58ad2c758 stable-0-6-28

fix embedded rfc822 messages with attachments
author Carl Byington <carl@five-ten-sg.com>
date Tue, 24 Feb 2009 12:33:49 -0800
parents 2189a6b8134e
children 0695de3b5a98
comparison
equal deleted inserted replaced
142:2189a6b8134e 143:fdc58ad2c758
60 if (!ptr) { 60 if (!ptr) {
61 ptr = (pst_desc_ll *) xmalloc(sizeof(pst_desc_ll)); 61 ptr = (pst_desc_ll *) xmalloc(sizeof(pst_desc_ll));
62 ptr->desc = pst_getID(&pstfile, id); 62 ptr->desc = pst_getID(&pstfile, id);
63 ptr->list_index = NULL; 63 ptr->list_index = NULL;
64 } 64 }
65 pst_item *item = pst_parse_item(&pstfile, ptr); 65 pst_item *item = pst_parse_item(&pstfile, ptr, NULL);
66 if (item) pst_freeItem(item); 66 if (item) pst_freeItem(item);
67 } 67 }
68 } 68 }
69 69
70 70