comparison src/pst2ldif.cpp @ 52:034641c26ab9

code cleanup
author carl
date Thu, 31 Jan 2008 08:03:30 -0800
parents b2a7f2e0926a
children 7d5c637aaafb
comparison
equal deleted inserted replaced
51:06c0262ad689 52:034641c26ab9
145 static void process(pst_desc_ll *d_ptr); 145 static void process(pst_desc_ll *d_ptr);
146 static void process(pst_desc_ll *d_ptr) { 146 static void process(pst_desc_ll *d_ptr) {
147 pst_item *item = NULL; 147 pst_item *item = NULL;
148 while (d_ptr) { 148 while (d_ptr) {
149 if (d_ptr->desc) { 149 if (d_ptr->desc) {
150 item = (pst_item*)pst_parse_item(&pstfile, d_ptr); 150 item = pst_parse_item(&pstfile, d_ptr);
151 DEBUG_INFO(("item pointer is %p\n", item)); 151 DEBUG_INFO(("item pointer is %p\n", item));
152 if (item) { 152 if (item) {
153 if (item->message_store) { 153 if (item->message_store) {
154 // there should only be one message_store, and we have already done it 154 // there should only be one message_store, and we have already done it
155 DIE(("main: A second message_store has been found. Sorry, this must be an error.\n")); 155 DIE(("main: A second message_store has been found. Sorry, this must be an error.\n"));